--- a/targets/toolchain_gcc.py Tue Aug 15 12:17:51 2017 +0300
+++ b/targets/toolchain_gcc.py Tue Aug 15 15:50:30 2017 +0300
@@ -111,7 +111,7 @@
def concat_deps(self, bn):
# read source
- src = open(os.path.join(self.buildpath, bn),"r").read()
+ src = open(os.path.join(self.buildpath, bn), "r").read()
# update direct dependencies
deps = []
self.append_cfile_deps(src, deps)
@@ -121,7 +121,7 @@
def check_and_update_hash_and_deps(self, bn):
# Get latest computed hash and deps
- oldhash, deps = self.srcmd5.get(bn,(None,[]))
+ oldhash, deps = self.srcmd5.get(bn, (None, []))
# read source
src = open(os.path.join(self.buildpath, bn)).read()
# compute new hash
@@ -165,7 +165,7 @@
for Location, CFilesAndCFLAGS, DoCalls in self.CTRInstance.LocationCFilesAndCFLAGS:
if CFilesAndCFLAGS:
if Location:
- self.CTRInstance.logger.write(".".join(map(str,Location))+" :\n")
+ self.CTRInstance.logger.write(".".join(map(str, Location))+" :\n")
else:
self.CTRInstance.logger.write(_("PLC :\n"))