From cf596d3368a665d59ec60fe0da8ab0c3c0c97c97 Mon Sep 17 00:00:00 2001 From: Yuya Kusakabe Date: Thu, 17 May 2018 10:55:18 +0900 Subject: Fix import path for ConfigError --- src/conf_mode/lldp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/conf_mode/lldp.py b/src/conf_mode/lldp.py index ba7e9cb13..27749c81c 100644 --- a/src/conf_mode/lldp.py +++ b/src/conf_mode/lldp.py @@ -21,12 +21,11 @@ import re import sys from vyos.config import Config -from vyos.util import ConfigError - +from vyos import ConfigError def get_options(config): - options ={} + options = {} config.set_level('service lldp') options['listen_vlan'] = config.exists('listen-vlan') -- cgit v1.2.3