From: Michael Prokop Date: Sun, 10 Jul 2011 23:45:18 +0000 (+0200) Subject: Fix warning message for missing files. X-Git-Tag: v0.9.34~1 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=def6424714db1791cde7318a799a8c62a016c810;ds=sidebyside Fix warning message for missing files. --- diff --git a/grml2usb b/grml2usb index 8987450..392c57c 100755 --- a/grml2usb +++ b/grml2usb @@ -1205,7 +1205,7 @@ def copy_grml_files(iso_mount, target): for myfile in copy_files: grml_file = search_file(myfile, iso_mount) if grml_file is None: - logging.warn("Warning: myfile %s could not be found - can not install it", myfile) + logging.warn("Warning: file %s could not be found - can not install it", myfile) else: exec_rsync(grml_file, grml_target + myfile) @@ -1215,7 +1215,7 @@ def copy_grml_files(iso_mount, target): for myfile in 'index.html', 'style.css': grml_file = search_file(myfile, iso_mount) if grml_file is None: - logging.warn("Warning: myfile %s could not be found - can not install it") + logging.warn("Warning: file %s could not be found - can not install it", myfile) else: exec_rsync(grml_file, grml_web_target + myfile) @@ -1225,7 +1225,7 @@ def copy_grml_files(iso_mount, target): for myfile in 'button.png', 'favicon.png', 'linux.jpg', 'logo.png': grml_file = search_file(myfile, iso_mount) if grml_file is None: - logging.warn("Warning: myfile %s could not be found - can not install it") + logging.warn("Warning: file %s could not be found - can not install it", myfile) else: exec_rsync(grml_file, grml_webimg_target + myfile)