summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-05-14 17:47:55 +0200
committerGitHub <noreply@github.com>2018-05-14 17:47:55 +0200
commita3fdcdcfdb471a51cd1ee2b8cc65621e86ae2628 (patch)
treed648849207ac755792eb44a34fbaf90b6c2e96db
parent0866859c6189553ce33cb80cad20844b609d5393 (diff)
parent48a983cc52421a984ce92f0cbb5e40ce1b4b2310 (diff)
downloadvyos-1x-a3fdcdcfdb471a51cd1ee2b8cc65621e86ae2628.tar.gz
vyos-1x-a3fdcdcfdb471a51cd1ee2b8cc65621e86ae2628.zip
Merge pull request #11 from higebu/add-missing-base-module
Add missing vyos.base module
-rw-r--r--python/vyos/base.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/python/vyos/base.py b/python/vyos/base.py
new file mode 100644
index 000000000..6197ed074
--- /dev/null
+++ b/python/vyos/base.py
@@ -0,0 +1,22 @@
+# Copyright (c) 2018 VyOS maintainers and contributors
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the Software
+# is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
+# OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+class ConfigError(Exception):
+ pass