# HG changeset patch # User Andrey Skvortsov <andrej.skvortzov@gmail.com # Date 1460994495 -10800 # Node ID 49f1763a56134726172d4bf71fc631e65826b127 # Parent de4ee16f7c6c168a284064e2e64f529a12b0d16d fixes sometimes happened error during project compilation Traceback (most recent call last): File "./Beremiz.py", line 1229, in run_with_except_hook run_old(*args, **kw) File "/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py", line 68, in run self.endcallback(self.Proc.pid, err) File "/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py", line 169, in finish if self.timeout: self.timeout.cancel() AttributeError: ProcessLogger instance has no attribute 'timeout' diff -r de4ee16f7c6c -r 49f1763a5613 util/ProcessLogger.py --- a/util/ProcessLogger.py Wed Oct 21 15:00:32 2015 +0100 +++ b/util/ProcessLogger.py Mon Apr 18 18:48:15 2016 +0300 @@ -166,7 +166,8 @@ self.logger.write_warning(_("exited with status %s (pid %s)\n")%(str(ecode),str(pid))) def finish(self, pid,ecode): - if self.timeout: self.timeout.cancel() + if self.timeout: + self.timeout.cancel() self.exitcode = ecode if self.exitcode != 0: self.log_the_end(ecode,pid)