summaryrefslogtreecommitdiff
path: root/upstream/tools/xmlGenerator/hostConfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/tools/xmlGenerator/hostConfig.py')
-rwxr-xr-xupstream/tools/xmlGenerator/hostConfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/upstream/tools/xmlGenerator/hostConfig.py b/upstream/tools/xmlGenerator/hostConfig.py
index 871f8f2..647d652 100755
--- a/upstream/tools/xmlGenerator/hostConfig.py
+++ b/upstream/tools/xmlGenerator/hostConfig.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*-coding:utf-8 -*
# Copyright (c) 2011-2014, Intel Corporation
@@ -57,7 +57,7 @@ def configure(infile=sys.stdin, outfile=sys.stdout, serverPort=None, structPath=
outfile.write(dom.toxml())
-if __name__ == "__main__" :
+if __name__ == "__main__":
""" Execute main if the python interpreter is running this module as the main program """
configure(serverPort=sys.argv[1], structPath=sys.argv[2])