diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-01 16:30:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-01 16:30:29 +0000 |
| commit | 959126d9a22de1fc741707c839e8ee749f32f092 (patch) | |
| tree | 944a168b3961a4c85b289a6dc0f16a6d23e11b2b /tools/themeupdate | |
| parent | 13430ce547290d908e32797195a4820b64bee18d (diff) | |
show errors on stderr
Diffstat (limited to 'tools/themeupdate')
| -rwxr-xr-x | tools/themeupdate/themeupdate.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/themeupdate/themeupdate.py b/tools/themeupdate/themeupdate.py index 1e155fc2..d68a488f 100755 --- 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() |
