projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use sys.stdout.write instead of print to prevent additional newlines
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
764bb2c
..
6ecc0aa
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1448,7
+1448,7
@@
def remove_default_entry(filename):
default_re = re.compile("^(\s*menu\s*default\s*)$", re.I)
for line in fileinput.input(filename, inplace=1):
if default_re.match(line): continue
- print line
+ sys.stdout.write(line)
fileinput.close()