We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d05b124 commit 643af3cCopy full SHA for 643af3c
issuebot
@@ -42,7 +42,7 @@ def git_push() -> None:
42
subprocess.check_output(['git', 'push'], cwd=REPO)
43
break
44
except subprocess.CalledProcessError as e:
45
- if 'non-fast-forward' in e.output or 'fetch first' in e.output:
+ if b'non-fast-forward' in e.output or b'fetch first' in e.output:
46
subprocess.check_call(["git", "pull", "--rebase"])
47
else:
48
sys.stdout.write(e.output)
0 commit comments