install.py

changeset 4519
55186d362145
parent 4512
23e8b848efb0
child 4541
e8ddd9d76414
--- a/install.py	Fri Oct 30 18:01:42 2015 +0100
+++ b/install.py	Sat Oct 31 16:49:21 2015 +0100
@@ -1283,7 +1283,7 @@
         hgOut = subprocess.check_output(["hg", "identify", "-i"])
         if sys.version_info[0] == 3:
             hgOut = hgOut.decode()
-    except (FileNotFoundError, subprocess.CalledProcessError):
+    except (OSError, subprocess.CalledProcessError):
         hgOut = ""
     if hgOut:
         hgOut = hgOut.strip()

eric ide

mercurial