diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-13 09:03:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-13 09:03:07 +0200 |
commit | 2ea89c1b3bd51523501b6d35bd1983407c3bca09 (patch) | |
tree | 16c81d9e866cd7e657a541f2406d8d883207b116 /python | |
parent | d49845421dbd8d0f470b7122022543eb45d10b7a (diff) | |
download | vyos-1x-2ea89c1b3bd51523501b6d35bd1983407c3bca09.tar.gz vyos-1x-2ea89c1b3bd51523501b6d35bd1983407c3bca09.zip |
vyos.util: add missing ConfigError import in check_kmod()
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/util.py b/python/vyos/util.py index 84aa16791..79e11a86d 100644 --- a/python/vyos/util.py +++ b/python/vyos/util.py @@ -654,6 +654,7 @@ def get_bridge_member_config(conf, br, intf): def check_kmod(k_mod): """ Common utility function to load required kernel modules on demand """ + from vyos import ConfigError if isinstance(k_mod, str): k_mod = k_mod.split() for module in k_mod: |