projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13430ce
)
show errors on stderr
author
Dana Jansens
<danakj@orodu.net>
Mon, 1 Sep 2003 16:30:29 +0000
(16:30 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 1 Sep 2003 16:30:29 +0000
(16:30 +0000)
tools/themeupdate/themeupdate.py
patch
|
blob
|
history
diff --git
a/tools/themeupdate/themeupdate.py
b/tools/themeupdate/themeupdate.py
index
1e155fc
..
d68a488
100755
(executable)
--- a/
tools/themeupdate/themeupdate.py
+++ b/
tools/themeupdate/themeupdate.py
@@
-201,8
+201,7
@@
def err_missing(data):
def usage():
- print 'Usage: themupdate.py /path/to/themerc > newthemerc'
- print
+ out('Usage: themupdate.py /path/to/themerc > newthemerc\n\n')
sys.exit()
try:
@@
-210,8
+209,7
@@
try:
except IndexError:
usage()
except IOError:
- print 'Unable to open file "' + sys.argv[1] + '"'
- print
+ out('Unable to open file "' + sys.argv[1] + '"\n\n')
usage()
data = file.readlines()