From 37aa8753fa67a1a8ad51cdc50539cab83f94ed2b Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 14 May 2018 13:31:47 +0200 Subject: Fix misplaces ConfigError exception. --- src/conf-mode/vyos-config-dns-forwarding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf-mode/vyos-config-dns-forwarding.py') diff --git a/src/conf-mode/vyos-config-dns-forwarding.py b/src/conf-mode/vyos-config-dns-forwarding.py index df273b321..0d265f819 100755 --- a/src/conf-mode/vyos-config-dns-forwarding.py +++ b/src/conf-mode/vyos-config-dns-forwarding.py @@ -23,7 +23,7 @@ import netifaces import jinja2 from vyos.config import Config -from vyos.util import ConfigError +from vyos import ConfigError config_file = r'/etc/powerdns/recursor.conf' -- cgit v1.2.3