Fixed a little issue. 6_0_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Oct 2015 16:49:21 +0100
branch
6_0_x
changeset 4520
2e6fbd9f9fac
parent 4513
b893c71f6f66
child 4523
0821211a1db1

Fixed a little issue.
(grafted from 55186d362145cb1928cc879a3bf80fee528bc69f)

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
@@ -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