Skip to content

Commit

Permalink
Small change to format for Black's happiness
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Minnix authored and Brandon Minnix committed Jan 29, 2024
1 parent 28b9d63 commit 9fb648b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions netutils/nist.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def get_nist_urls_juniper_junos(os_platform_data: t.Dict[str, t.Any], api_key: s

# X Series (Special) Examples: 12.1x47:d40, 12.2x50:d41.1
if url_args["isspecial"] and url_args["service_respin"]:

# nist_urls.append(juniper:junos:12.2x50:d41.1:*:*:*:*:*:*)
nist_urls.append(
f"{url_args['base_ext']}:{url_args['service']}{url_args['service_build']}.{url_args['service_respin']}{url_args['delim_six']}"
Expand Down Expand Up @@ -64,9 +63,7 @@ def get_nist_urls_juniper_junos(os_platform_data: t.Dict[str, t.Any], api_key: s

if url_args.get("build") and not url_args.get("service"):
# nist_urls.append(juniper:junos:12.3r12:*:*:*:*:*:*:*)
nist_urls.append(
f"{url_args['base_ext']}{url_args['type']}{url_args['build']}{url_args['delim_seven']}"
)
nist_urls.append(f"{url_args['base_ext']}{url_args['type']}{url_args['build']}{url_args['delim_seven']}")
# nist_urls.append(juniper:junos:12.2:r1:*:*:*:*:*:*)
nist_urls.append(f"{url_args['base_ext']}:{url_args['type']}{url_args['build']}{url_args['delim_six']}")
return nist_urls
Expand Down

0 comments on commit 9fb648b

Please sign in to comment.