]> Dogcows Code - chaz/openbox/commitdiff
show errors on stderr
authorDana Jansens <danakj@orodu.net>
Mon, 1 Sep 2003 16:30:29 +0000 (16:30 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 1 Sep 2003 16:30:29 +0000 (16:30 +0000)
tools/themeupdate/themeupdate.py

index 1e155fc20fcd12c066820773ca96136144a17906..d68a488fb75a91c3e0a5a60b0074f3aa70cabd2a 100755 (executable)
@@ -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()
This page took 0.026871 seconds and 4 git commands to generate.