equal
deleted
inserted
replaced
74 try: |
74 try: |
75 RemotePLCObjectProxy = Pyro.core.getAttrProxyForURI(schemename + "://" + location + "/PLCObject") |
75 RemotePLCObjectProxy = Pyro.core.getAttrProxyForURI(schemename + "://" + location + "/PLCObject") |
76 except Exception as e: |
76 except Exception as e: |
77 confnodesroot.logger.write_error( |
77 confnodesroot.logger.write_error( |
78 _("Connection to {loc} failed with exception {ex}\n").format( |
78 _("Connection to {loc} failed with exception {ex}\n").format( |
79 loc=location, exo=str(e))) |
79 loc=location, ex=str(e))) |
80 return None |
80 return None |
81 |
81 |
82 RemotePLCObjectProxy.adapter.setTimeout(60) |
82 RemotePLCObjectProxy.adapter.setTimeout(60) |
83 |
83 |
84 def PyroCatcher(func, default=None): |
84 def PyroCatcher(func, default=None): |