changeset 2418 | 5587c490a070 |
parent 1902 | 2b7e2db31d81 |
child 2434 | 07f48018b6f5 |
--- a/py_ext/PythonFileCTNMixin.py Tue Oct 02 17:18:09 2018 +0300 +++ b/py_ext/PythonFileCTNMixin.py Tue Oct 02 18:08:49 2018 +0300 @@ -73,7 +73,7 @@ os.remove(filepath) self.CreateCodeFileBuffer(False) self.OnCTNSave() - except Exception, exc: + except Exception as exc: error = unicode(exc) if error is not None: