Skip to content
Snippets Groups Projects
Commit 4d139efc authored by Erik Reid's avatar Erik Reid
Browse files

refactored future warning

parent 5307dfb0
Branches
Tags
No related merge requests found
......@@ -263,7 +263,7 @@ def reload_router_config(hostname):
netconf_refresh_config.apply(hostname)
netconf_doc = load_netconf_data(hostname)
if not netconf_doc:
if netconf_doc is None:
task_logger.error('no netconf data available for %r' % hostname)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment