mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1497898 - Handle WindowsError trying to determine if git exists, r=ato
Depends on D8232 Differential Revision: https://phabricator.services.mozilla.com/D10743 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
347f4f5b34
commit
25da1ff728
@ -62,7 +62,7 @@ class Git(object):
|
||||
try:
|
||||
return cls(git("rev-parse", "--show-toplevel").rstrip(), url_base, cache_path,
|
||||
manifest_path=manifest_path, rebuild=rebuild)
|
||||
except subprocess.CalledProcessError:
|
||||
except (subprocess.CalledProcessError, OSError):
|
||||
return None
|
||||
|
||||
def _local_changes(self):
|
||||
|
Loading…
Reference in New Issue
Block a user