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

pep8

parent 8d57b65c
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ def _install_proc(hostname, username, password, sdist):
f'sudo su - -c \'{pip} uninstall -y inventory\'',
f'sudo su - -c \'{pip} install {scp_destination}\'',
f'rm {scp_destination}',
f'chown -R inventory.inventory /home/inventory/venv',
'chown -R inventory.inventory /home/inventory/venv',
'exit'
]
stdin.write('\n'.join(commands) + '\n')
......
......@@ -54,7 +54,11 @@ LOGICAL_SYSTEM_PEERING_LIST_SCHEMA = {
},
# only vrr peerings have remote-asn
"required": [
"address", "description", "logical-system", "group", "hostname"],
"address",
"description",
"logical-system",
"group",
"hostname"],
"additionalProperties": False
}
},
......@@ -133,7 +137,7 @@ def logical_system_peerings(name=None):
def _get_all_ls_keys():
keys = []
for k in r.scan_iter(f'juniper-peerings:logical-system:*', count=1000):
for k in r.scan_iter('juniper-peerings:logical-system:*', count=1000):
keys.append(k.decode('utf-8'))
return keys
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment