summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-09-01 12:57:51 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-09-01 12:57:51 +0200
commit3b1a966cc8ec6899097035386d37a2f9b6107e58 (patch)
tree6b89da17f7b646c3f00ebb711edf8891962e60eb /scripts
parentfb73a87033c35c6a8199a2136381814e5a2e2e87 (diff)
parenta80f4d179b5ef0dd8a149c96c08d56004f916a70 (diff)
downloadqt-creator-3b1a966cc8ec6899097035386d37a2f9b6107e58.tar.gz
Merge remote-tracking branch 'origin/3.5'
Change-Id: Iebaabfc2f724cd493b7cab025406531cea5cd2dc
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/packageIfw.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/packageIfw.py b/scripts/packageIfw.py
index 25ecb46355..67aba26a5e 100755
--- a/scripts/packageIfw.py
+++ b/scripts/packageIfw.py
@@ -38,7 +38,7 @@ import shutil
import inspect
def usage():
- print 'Usage: %s [-v|--version-string=versionstring] [-i|--installer-path=/path/to/installerfw] [-a|--archive=archive.7z] <outputname>' % os.path.basename(sys.argv[0])
+ print('Usage: %s [-v|--version-string=versionstring] [-i|--installer-path=/path/to/installerfw] [-a|--archive=archive.7z] <outputname>' % os.path.basename(sys.argv[0]))
def substitute_file(infile, outfile, substitutions):
with open(infile, 'r') as f:
@@ -132,9 +132,9 @@ def main():
ifw_call = [os.path.join(ifw_location, 'bin', 'binarycreator'), '-c', os.path.join(out_config_dir, config_name), '-p', out_packages_dir, installer_name, '--offline-only' ]
subprocess.check_call(ifw_call, stderr=subprocess.STDOUT)
finally:
- print 'Cleaning up...'
+ print('Cleaning up...')
shutil.rmtree(temp_dir)
- print 'Done.'
+ print('Done.')
if __name__ == '__main__':
main()