From def6424714db1791cde7318a799a8c62a016c810 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 11 Jul 2011 01:45:18 +0200 Subject: [PATCH 1/1] Fix warning message for missing files. --- grml2usb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.1.4