Skip to content

Commit

Permalink
shpc convention: no else when the then ends with a return
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Sep 7, 2022
1 parent c14a41d commit 58b98eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shpc/main/registry/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ def get_module_config_url(self, module_name):
self.raw_container_url_schemes[domain] % t,
self.web_container_url_schemes[domain] % t,
)
else:
return (None, None)
return (None, None)

def iter_registry(self, filter_string=None):
"""
Expand Down

0 comments on commit 58b98eb

Please sign in to comment.