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

Fix error handling code.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2086,7 +2086,7 @@ def RunTest(env, TST, BusyPorts, COND, o
                 except IOError as err:
                     if not env.get('NOCLEAN'):
                         ErrMsg("SymlinkOrCopy('%s','%s') in '%s' failed with 
#%d: '%s'."
-                               % (os.path.join(RELSRCDIR, f), f, os.getcwd(), 
IOerrNo, IOerrStr))
+                               % (os.path.join(RELSRCDIR, f), f, os.getcwd(), 
err.errno, err.strerror))
                 except OSError:
                     if not env.get('NOCLEAN'):
                         raise
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to