summaryrefslogtreecommitdiff
path: root/python/vyos/dicts.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-05-18 17:41:35 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-05-18 17:41:35 +0100
commit4d0c5c848fda305055b71abf63ccd18478586694 (patch)
tree5851f1adf33c18f94a16c71f8b01175e0d43e428 /python/vyos/dicts.py
parent1e4dd009d711f24c504e0a6b61c5aefd37dcd6ce (diff)
downloadvyos-1x-4d0c5c848fda305055b71abf63ccd18478586694.tar.gz
vyos-1x-4d0c5c848fda305055b71abf63ccd18478586694.zip
flake8: T2475: fix a number of issue reported by flake8
Diffstat (limited to 'python/vyos/dicts.py')
-rw-r--r--python/vyos/dicts.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/dicts.py b/python/vyos/dicts.py
index 79cab4a08..b12cda40f 100644
--- a/python/vyos/dicts.py
+++ b/python/vyos/dicts.py
@@ -15,6 +15,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+from vyos import ConfigError
+
+
class FixedDict(dict):
"""
FixedDict: A dictionnary not allowing new keys to be created after initialisation.