Skip to content

Commit

Permalink
Ran black
Browse files Browse the repository at this point in the history
  • Loading branch information
mraineri committed Jun 5, 2024
1 parent 300be7c commit 299fc24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redfish_utilities/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,9 @@ def print_manager_network_protocol(network_protocol):
if property == "NTP":
# For NTP, extract the servers; need to skip "empty" slots potentially
if "NTPServers" in network_protocol.dict[property]:
other_str = "NTP Servers: " + ", ".join([i for i in network_protocol.dict[property]["NTPServers"] if i is not None])
other_str = "NTP Servers: " + ", ".join(
[i for i in network_protocol.dict[property]["NTPServers"] if i is not None]
)
print(
network_protocol_line_format.format(
property,
Expand Down

0 comments on commit 299fc24

Please sign in to comment.