Skip to content

Commit

Permalink
review: break from both loops
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte committed Sep 16, 2024
1 parent 48af796 commit fbfc7e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ecospheres_migrator/geonetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def _extract_uuid_from_put_response(self, payload: dict):
if uuid_match:
uuid_match = uuid_match.group(1)
break
if uuid_match:
break

return uuid_match

Expand Down

0 comments on commit fbfc7e4

Please sign in to comment.