changeset 2536 | 2747d6e72eb8 |
parent 2493 | 0ad5e616d37f |
child 2537 | eb4a4cc41914 |
--- a/connectors/PYRO/__init__.py Wed Mar 13 10:02:11 2019 +0300 +++ b/connectors/PYRO/__init__.py Wed Mar 13 10:19:30 2019 +0300 @@ -73,7 +73,7 @@ # Try to get the proxy object try: RemotePLCObjectProxy = Pyro.core.getAttrProxyForURI(schemename + "://" + location + "/PLCObject") - except Exception, e: + except Exception as e: confnodesroot.logger.write_error( _("Connection to {loc} failed with exception {ex}\n").format( loc=location, exo=str(e)))