connectors/PYRO/__init__.py
changeset 1847 6198190bc121
parent 1846 14b40afccd69
child 1881 091005ec69c4
equal deleted inserted replaced
1846:14b40afccd69 1847:6198190bc121
   159             confnodesroot._connector.GetPyroProxy() is used
   159             confnodesroot._connector.GetPyroProxy() is used
   160             rather than RemotePLCObjectProxy because
   160             rather than RemotePLCObjectProxy because
   161             object is recreated meanwhile,
   161             object is recreated meanwhile,
   162             so we must not keep ref to it here
   162             so we must not keep ref to it here
   163             """
   163             """
   164             current_status, log_count = confnodesroot._connector.GetPyroProxy().GetPLCstatus()
   164             current_status, _log_count = confnodesroot._connector.GetPyroProxy().GetPLCstatus()
   165             if current_status == "Dirty":
   165             if current_status == "Dirty":
   166                 # Some bad libs with static symbols may polute PLC
   166                 # Some bad libs with static symbols may polute PLC
   167                 # ask runtime to suicide and come back again
   167                 # ask runtime to suicide and come back again
   168 
   168 
   169                 confnodesroot.logger.write(_("Force runtime reload\n"))
   169                 confnodesroot.logger.write(_("Force runtime reload\n"))