etherlab/etherlab.py
changeset 2418 5587c490a070
parent 2412 22b1879a3c15
child 2425 68e7da937162
--- a/etherlab/etherlab.py	Tue Oct 02 17:18:09 2018 +0300
+++ b/etherlab/etherlab.py	Tue Oct 02 18:08:49 2018 +0300
@@ -226,7 +226,7 @@
                     if error is not None:
                         self.GetCTRoot().logger.write_warning(
                             XSDSchemaErrorMessage % (filepath + error))
-                except Exception, exc:
+                except Exception as exc:
                     self.modules_infos, error = None, unicode(exc)
                 xmlfile.close()