mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
upload: use f-string
Change-Id: I91b99a7147c7c3cb5485d5406316c8ffd79f9272 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/374914 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Joanna Wang <jojwang@google.com> Tested-by: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
aafed29d34
commit
3eacfdf309
@ -657,7 +657,7 @@ Gerrit Code Review: https://www.gerritcodereview.com/
|
|||||||
|
|
||||||
branch.uploaded = True
|
branch.uploaded = True
|
||||||
except UploadError as e:
|
except UploadError as e:
|
||||||
self.git_event_log.ErrorEvent("upload error: " + str(e))
|
self.git_event_log.ErrorEvent(f"upload error: {e}")
|
||||||
branch.error = e
|
branch.error = e
|
||||||
branch.uploaded = False
|
branch.uploaded = False
|
||||||
have_errors = True
|
have_errors = True
|
||||||
|
Loading…
Reference in New Issue
Block a user