Commit 9434580d by Sébastien Eustace

Fix an error on Windows when getting git config

parent 6a927b5c
......@@ -21,7 +21,7 @@ class GitConfig:
if m:
for group in m:
self._config[group[0]] = group[1]
except subprocess.CalledProcessError:
except (subprocess.CalledProcessError, OSError):
pass
def get(self, key, default=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment