aboutsummaryrefslogtreecommitdiffstats
path: root/images/create_imgs_package.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-10-28 19:41:00 +0100
committerMartin Braun <martin.braun@ettus.com>2014-10-28 19:41:00 +0100
commit6fb2706a022d16b40f7c1ee97abb057c2143a8ef (patch)
treefd90899b64600087c9cbec03280584c594975e6a /images/create_imgs_package.py
parentfd61f0cc3360ad850f499de41a6701bbcdf29c98 (diff)
downloaduhd-6fb2706a022d16b40f7c1ee97abb057c2143a8ef.tar.gz
uhd-6fb2706a022d16b40f7c1ee97abb057c2143a8ef.tar.bz2
uhd-6fb2706a022d16b40f7c1ee97abb057c2143a8ef.zip
images: Updated utils (no more tgz, Python 2.6 compat)
Diffstat (limited to 'images/create_imgs_package.py')
-rwxr-xr-ximages/create_imgs_package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/images/create_imgs_package.py b/images/create_imgs_package.py
index 4b49390ce..6b1d5580e 100755
--- a/images/create_imgs_package.py
+++ b/images/create_imgs_package.py
@@ -54,7 +54,7 @@ def parse_args():
def move_zip_to_repo(base_url, zipfilename):
final_destination = os.path.join(base_url, zipfilename)
if os.path.exists(final_destination):
- print "WARNING: A file with name {} is already in the images repository.".format(zipfilename)
+ print "WARNING: A file with name {0} is already in the images repository.".format(zipfilename)
print "Overwrite? [y/N]",
ans = raw_input()
if ans.strip().upper() != 'Y':
@@ -85,7 +85,7 @@ def main():
print 'MD5: ', md5
base_url = uhdimgs.get_base_url()
if uhdimgs.base_url_is_local(base_url) and os.access(base_url, os.W_OK):
- print "== Moving ZIP file to {}...".format(base_url)
+ print "== Moving ZIP file to {0}...".format(base_url)
move_zip_to_repo(base_url, zipfilename)
print "== Updating CMakeLists.txt..."
uhdimgs.update_main_cmake_file(md5, zipfilename)