Fixed a little issue.

Sat, 31 Oct 2015 16:49:21 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Oct 2015 16:49:21 +0100
changeset 4519
55186d362145
parent 4518
fd7d34bd1a88
child 4521
8742f7fa0e87

Fixed a little issue.

install.py file | annotate | diff | comparison | revisions
--- 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