X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FSubstrate.py;h=ff77940225c52c55cf423547c0d858e48713872c;hb=967b5ac047565bb4f94ab924844885a6543dc426;hp=773e7500928de4c19285c2dc7e8e8c31ee04c266;hpb=bae21e1d92817f120f5c2092c0b49e4d60b3a446;p=tests.git diff --git a/system/Substrate.py b/system/Substrate.py index 773e750..ff77940 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -634,7 +634,8 @@ class PlcLxcBox (PlcBox): pid=lxc_line.split(";")[1] timestamp=lxc_line.split(";")[2] self.add_lxc(lxcname,pid) - timestamp=int(timestamp) + try: timestamp=int(timestamp) + except: timestamp=0 p=self.plc_instance_by_lxcname(lxcname) if not p: print 'WARNING zombie plc',self.hostname,lxcname