From b99d01165ee23aec17d36c461184fb5aa8594b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 31 Oct 2019 11:33:23 +0100 Subject: [PATCH] fixed bug in git checkout script --- scripts/phabtalk/apply_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/phabtalk/apply_patch.py b/scripts/phabtalk/apply_patch.py index c5cb3ee..542751f 100755 --- a/scripts/phabtalk/apply_patch.py +++ b/scripts/phabtalk/apply_patch.py @@ -42,7 +42,7 @@ def _git_checkout(git_hash:str): subprocess.check_call('git reset --hard {}'.format(git_hash), shell=True) except subprocess.CalledProcessError: print('ERROR: checkout failed, using master instead.') - subprocess.check_call('git checkout master') + subprocess.check_call('git checkout master', shell=True) def _apply_patch(diff_id: str, conduit_token: str, host: str):