Skip to content

Commit 67c69ed

Browse files
typing fix
1 parent 728b117 commit 67c69ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exasol/toolbox/nox/_release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ def run(*args: str):
160160
raise ReleaseError(f"failed to execute command {args}") from ex
161161

162162
branches = run("git", "remote", "show", "origin")
163-
if not (default_branch := re.search(r"HEAD branch: (\S+)", branches)):
163+
if not (result := re.search(r"HEAD branch: (\S+)", branches)):
164164
raise ReleaseError("default branch could not be found")
165-
default_branch = default_branch.group(1)
165+
default_branch = result.group(1)
166166

167167
run("git", "checkout", default_branch)
168168
run("git", "pull")

0 commit comments

Comments
 (0)