equal
deleted
inserted
replaced
92 if PyroCatcher(lambda:RemotePLCObjectProxy.GetPLCstatus())() is None: |
92 if PyroCatcher(lambda:RemotePLCObjectProxy.GetPLCstatus())() is None: |
93 confnodesroot.logger.write_error(_("Cannot get PLC status - connection failed.\n")) |
93 confnodesroot.logger.write_error(_("Cannot get PLC status - connection failed.\n")) |
94 return None |
94 return None |
95 |
95 |
96 |
96 |
97 class PyroProxyProxy: |
97 class PyroProxyProxy(object): |
98 """ |
98 """ |
99 A proxy proxy class to handle Beremiz Pyro interface specific behavior. |
99 A proxy proxy class to handle Beremiz Pyro interface specific behavior. |
100 And to put pyro exception catcher in between caller and pyro proxy |
100 And to put pyro exception catcher in between caller and pyro proxy |
101 """ |
101 """ |
102 def __init__(self): |
102 def __init__(self): |