Skip to content

Commit 985b365

Browse files
committed
Fix print statements
1 parent 7a28af9 commit 985b365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ def update_repo(repo_dir, branch_name):
7373
base_branch = os.environ.get("GITHUB_BASE_REF")
7474

7575
if has_remote_branch(repo_dir, branch_name):
76-
vprint(f"repo has target branch `{branch_name}`: {has_branch}...updating")
76+
vprint(f"repo has target branch {branch_name}...updating")
7777
pout = shell(f"git switch {branch_name}", cwd=repo_dir)
7878
vprint(pout.stdout.decode("utf-8"))
7979
elif (base_branch != curr_branch) and has_remote_branch(repo_dir, base_branch):
8080
vprint(f"repo does not have target branch ${branch_name}, but has base branch {base_branch}...updating")
8181
pout = shell(f"git switch {base_branch}", cwd=repo_dir)
8282
vprint(pout.stdout.decode("utf-8"))
8383
else:
84-
vprint(f"repo does not have target branch {branch_name} nor base_branch ${base_branch}, leaving at {curr_branch}")
84+
vprint(f"repo does not have target branch {branch_name} nor base_branch {base_branch}, leaving at {curr_branch}")
8585

8686
def _get_branch_cmd(opts):
8787
branch = "main"

0 commit comments

Comments
 (0)