From 861a52c3edce857ea4482df15ad75bdbfc780304 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 8 Feb 2006 23:30:20 +0000 Subject: [PATCH] redirect to sderr with print --- src/gajim-remote.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gajim-remote.py b/src/gajim-remote.py index 11c7a094e..c464fbf1d 100755 --- a/src/gajim-remote.py +++ b/src/gajim-remote.py @@ -46,8 +46,7 @@ i18n.init() def send_error(error_message): ''' Writes error message to stderr and exits''' - sys.stderr.write(error_message + '\n') - sys.stderr.flush() + print >> sys.stderr, error_message sys.exit(1) try: