Skip to content

Commit

Permalink
Remove pointless returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
terjekv committed Nov 12, 2023
1 parent 1601da0 commit cfde9ae
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mreg_cli/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def info(args) -> None:
owners = ", ".join([i["name"] for i in info["owners"]])
manager.add_formatted_line("Owners:", owners)

return manager


group.add_command(
prog="info",
Expand Down Expand Up @@ -215,8 +213,6 @@ def _history(args) -> None:
for line in format_history_items(args.name, items):
manager.add_line(line)

return manager


group.add_command(
prog="history",
Expand Down Expand Up @@ -376,8 +372,6 @@ def host_list(args) -> None:
for group in group_list:
manager.add_line(" ", group["name"])

return manager


group.add_command(
prog="host_list",
Expand Down

0 comments on commit cfde9ae

Please sign in to comment.