Changeset: e70c656e3019 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e70c656e3019
Modified Files:
        testing/Mtest.py.in
Branch: default
Log Message:

Backport to Python 2.


diffs (21 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3907,7 +3907,7 @@ def main(argv) :
                     CONDITIONALS['HAVE_PY2MONETDB'] = '#'
                     os.environ['PYTHON2'] = py2
                     break
-            except FileNotFoundError:
+            except OSError:
                 pass
     else:
         CONDITIONALS['HAVE_PY2MONETDB'] = '' # no pymonetdb for python2
@@ -3922,7 +3922,7 @@ def main(argv) :
                     CONDITIONALS['HAVE_PY3MONETDB'] = '#'
                     os.environ['PYTHON3'] = py3
                     break
-            except FileNotFoundError:
+            except OSError:
                 pass
     else:
         CONDITIONALS['HAVE_PY3MONETDB'] = '' # no pymonetdb for python3
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to