From 959126d9a22de1fc741707c839e8ee749f32f092 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 1 Sep 2003 16:30:29 +0000 Subject: [PATCH] show errors on stderr --- tools/themeupdate/themeupdate.py | 6 ++---- 1 file 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() -- 2.45.2