projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
148ed77
)
Fix warning message for missing files.
author
Michael Prokop
<mika@grml.org>
Sun, 10 Jul 2011 23:45:18 +0000
(
01:45
+0200)
committer
Michael Prokop
<mika@grml.org>
Sun, 10 Jul 2011 23:45:18 +0000
(
01:45
+0200)
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
8987450
..
392c57c
100755
(executable)
--- 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:
for myfile in copy_files:
grml_file = search_file(myfile, iso_mount)
if grml_file is None:
- logging.warn("Warning:
my
file %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)
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:
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)
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:
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)
else:
exec_rsync(grml_file, grml_webimg_target + myfile)