Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
Signed-off-by: Bas Zoetekouw <[email protected]>
  • Loading branch information
baszoetekouw committed Mar 7, 2024
1 parent fedb601 commit 11c4eea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ def get_net_args(compose, cnt):
net_names_str = ",".join(net_names)

multiple_nets = cnt.get("networks", None)
if multiple_nets and len(multiple_nets)>1:
if multiple_nets and len(multiple_nets) > 1:
for net_, net_config_ in multiple_nets.items():
if net_config_ is None:
net_config_ = {}
Expand Down Expand Up @@ -906,8 +906,6 @@ def get_net_args(compose, cnt):
if mac_address:
net_args.append(f"--mac-address={mac_address}")

print("net_args: ")
pprint.pprint(net_args)
return net_args


Expand Down

0 comments on commit 11c4eea

Please sign in to comment.