diff options
author | John Estabrook <jestabro@vyos.io> | 2023-08-05 21:27:45 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-08-07 00:48:31 -0500 |
commit | 574f2c11af7d225656478e59597a60a1c78708ba (patch) | |
tree | 6ac561a3cdccd4019377607544c92b52cb0696d0 /src/conf_mode/dns_dynamic.py | |
parent | d5c6aa77bef5c1cec34c63f27d75304d0f843a80 (diff) | |
download | vyos-1x-574f2c11af7d225656478e59597a60a1c78708ba.tar.gz vyos-1x-574f2c11af7d225656478e59597a60a1c78708ba.zip |
T5434: remove unneeded imports in dns_dynamic.py
Diffstat (limited to 'src/conf_mode/dns_dynamic.py')
-rwxr-xr-x | src/conf_mode/dns_dynamic.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/conf_mode/dns_dynamic.py b/src/conf_mode/dns_dynamic.py index 97d46148a..ab80defe8 100755 --- a/src/conf_mode/dns_dynamic.py +++ b/src/conf_mode/dns_dynamic.py @@ -19,10 +19,8 @@ import os from sys import exit from vyos.config import Config -from vyos.configdict import dict_merge from vyos.template import render from vyos.utils.process import call -from vyos.xml import defaults from vyos import ConfigError from vyos import airbag airbag.enable() @@ -50,8 +48,9 @@ def get_config(config=None): return None dyndns = conf.get_config_dict(base_level, key_mangling=('-', '_'), - get_first_key=True, no_tag_node_value_mangle=True, - with_defaults=True, with_recursive_defaults=True) + no_tag_node_value_mangle=True, + get_first_key=True, + with_recursive_defaults=True) dyndns['config_file'] = config_file return dyndns |