mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
Merge #19230
19230: tools/backport_pr: remove Unnecessary "else" after "raise" r=maribu a=benpicco Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
This commit is contained in:
commit
12a05b8fa2
8
dist/tools/backport_pr/backport_pr.py
vendored
8
dist/tools/backport_pr/backport_pr.py
vendored
@ -269,10 +269,10 @@ def main():
|
||||
# the worktree was deleted
|
||||
repo.delete_head(new_branch)
|
||||
raise exc
|
||||
else:
|
||||
# Delete worktree
|
||||
print(f"Pruning temporary workdir at {worktree_dir}")
|
||||
_delete_worktree(repo, worktree_dir)
|
||||
|
||||
# Delete worktree
|
||||
print(f"Pruning temporary workdir at {worktree_dir}")
|
||||
_delete_worktree(repo, worktree_dir)
|
||||
|
||||
labels = _get_labels(pulldata)
|
||||
merger = pulldata["merged_by"]["login"]
|
||||
|
Loading…
Reference in New Issue
Block a user