diff -r d2e979738700 -r ec153828ded2 targets/toolchain_makefile.py --- a/targets/toolchain_makefile.py Mon Aug 14 23:38:28 2017 +0300 +++ b/targets/toolchain_makefile.py Tue Aug 15 12:17:51 2017 +0300 @@ -104,7 +104,7 @@ f.write(self.md5key) f.close() - if oldmd5 != self.md5key : + if oldmd5 != self.md5key: target = self.CTRInstance.GetTarget().getcontent() beremizcommand = {"src": ' '.join(srcfiles), "cflags": ' '.join(cflags), @@ -120,11 +120,11 @@ # Call Makefile to build PLC code and link it with target specific code status, result, err_result = ProcessLogger(self.CTRInstance.logger, command).spin() - if status : + if status: self.md5key = None self.CTRInstance.logger.write_error(_("C compilation failed.\n")) return False return True - else : + else: self.CTRInstance.logger.write(_("Source didn't change, no build.\n")) return True