Merge pull request #84 from johbo/fix-python36-skip-existing

Mark string as binary in comparison for skip_existing
This commit is contained in:
Jose Diaz-Gonzalez
2018-02-26 10:44:12 -05:00
committed by GitHub

View File

@@ -831,7 +831,7 @@ def fetch_repository(name,
clone_exists = subprocess.check_output(['git', clone_exists = subprocess.check_output(['git',
'rev-parse', 'rev-parse',
'--is-bare-repository'], '--is-bare-repository'],
cwd=local_dir) == "true\n" cwd=local_dir) == b"true\n"
else: else:
clone_exists = False clone_exists = False
else: else: