diff options
| author | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-05-17 10:55:18 +0900 | 
|---|---|---|
| committer | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-05-17 10:55:18 +0900 | 
| commit | cf596d3368a665d59ec60fe0da8ab0c3c0c97c97 (patch) | |
| tree | 5640701b2d786369d6dacd7c543b60d15bfcf6db | |
| parent | ed6b92064e26a0c875e8825622a0e34f8475268f (diff) | |
| download | vyos-1x-cf596d3368a665d59ec60fe0da8ab0c3c0c97c97.tar.gz vyos-1x-cf596d3368a665d59ec60fe0da8ab0c3c0c97c97.zip  | |
Fix import path for ConfigError
| -rw-r--r-- | src/conf_mode/lldp.py | 5 | 
1 files 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')  | 
