--- a/targets/__init__.py Mon Aug 14 21:31:01 2017 +0300
+++ b/targets/__init__.py Mon Aug 14 22:23:17 2017 +0300
@@ -45,7 +45,7 @@
"class":_GetLocalTargetClassFactory(name),
"code": { fname: path.join(_base_path, name, fname)
for fname in listdir(path.join(_base_path, name))
- if fname.startswith("plc_%s_main"%name) and
+ if fname.startswith("plc_%s_main" % name) and
fname.endswith(".c")}})
for name in listdir(_base_path)
if path.isdir(path.join(_base_path, name))
@@ -70,7 +70,7 @@
# Get all xsd targets
for targetname,nfo in targets.iteritems():
xsd_string = open(nfo["xsd"]).read()
- targetchoices += xsd_string%DictXSD_toolchain
+ targetchoices += xsd_string % DictXSD_toolchain
return targetchoices