From 2ea89c1b3bd51523501b6d35bd1983407c3bca09 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 13 Sep 2020 09:03:07 +0200 Subject: vyos.util: add missing ConfigError import in check_kmod() --- python/vyos/util.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python/vyos') 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: -- cgit v1.2.3