summaryrefslogtreecommitdiffstats
path: root/tools/basebuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/basebuilder.py')
-rw-r--r--tools/basebuilder.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/basebuilder.py b/tools/basebuilder.py
index 704769755..a9ab6b288 100644
--- a/tools/basebuilder.py
+++ b/tools/basebuilder.py
@@ -7,11 +7,11 @@ if __name__ == '__main__':
dir = argv[1]
imagename = dir.split('/')[-1]
e = Element("Image", name=imagename)
- for line in open("%s/base.ConfigFile"%(dir)).readlines():
+ for line in open("%s/base.ConfigFile" % (dir)).readlines():
SubElement(e, "ConfigFile", name=line.strip())
- for line in open("%s/base.Package"%(dir)).readlines():
+ for line in open("%s/base.Package" % (dir)).readlines():
SubElement(e, "Package", name=line.strip())
- for line in open("%s/base.Service"%(dir)).readlines():
+ for line in open("%s/base.Service" % (dir)).readlines():
SubElement(e, "Service", name=line.strip().split()[0])
- print tostring(e)
+ print(tostring(e))