Skip to content

Commit

Permalink
fix: remove second call to str
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Izquierdo committed Nov 2, 2023
1 parent 6862563 commit d52f37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aap_eda/services/project/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def clone(
except GitError as e:
msg = str(e)
if secret:
msg = str(e).replace(secret, "****")
msg = msg.replace(secret, "****")
logger.warning("Git clone failed: %s", msg)
raise GitError(msg) from None
return cls(path, _executor=_executor)
Expand Down

0 comments on commit d52f37f

Please sign in to comment.