Stripped more dead code.
authorEdouard Tisserant
Thu, 12 Apr 2018 16:38:09 +0200
changeset 1983 edd7a3a06d86
parent 1982 092d98d56995
child 1984 081265cda5b1
Stripped more dead code.
runtime/PLCObject.py
--- a/runtime/PLCObject.py	Thu Apr 12 16:33:44 2018 +0200
+++ b/runtime/PLCObject.py	Thu Apr 12 16:38:09 2018 +0200
@@ -397,18 +397,6 @@
             return True
         return False
 
-    def _Reload(self):
-        self.daemon.shutdown(True)
-        self.daemon.sock.close()
-        os.execv(sys.executable, [sys.executable]+sys.argv[:])
-        # never reached
-        return 0
-
-    def ForceReload(self):
-        # respawn python interpreter
-        Timer(0.1, self._Reload).start()
-        return True
-
     def GetPLCstatus(self):
         return self.PLCStatus, map(self.GetLogCount, xrange(LogLevelsCount))