install.py

branch
6_0_x
changeset 4520
2e6fbd9f9fac
parent 4460
3168cf53729c
--- a/install.py	Fri Oct 30 18:01:42 2015 +0100
+++ b/install.py	Sat Oct 31 16:49:21 2015 +0100
@@ -1356,7 +1356,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