From 2f09fedfe48f51c62281b6f77142834ddfd16d7e Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Tue, 26 Apr 2011 17:46:41 +0000 Subject: [PATCH] 4114: use stdin/stdout/stderr; plugins svn: r17279 --- src/plugins/gramplet/bottombar.gpr.py | 3 ++- src/plugins/view/geography.gpr.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/gramplet/bottombar.gpr.py b/src/plugins/gramplet/bottombar.gpr.py index 92cb5d811..5d3dd6dc1 100644 --- a/src/plugins/gramplet/bottombar.gpr.py +++ b/src/plugins/gramplet/bottombar.gpr.py @@ -85,7 +85,8 @@ try: import pyexiv2 available = True except: - print _("WARNING: pyexiv2 module not loaded. " + import sys + print >> sys.stderr, _("WARNING: pyexiv2 module not loaded. " "Image metadata functionality will not be available.") available = False diff --git a/src/plugins/view/geography.gpr.py b/src/plugins/view/geography.gpr.py index 740ce9801..e02c53ffd 100644 --- a/src/plugins/view/geography.gpr.py +++ b/src/plugins/view/geography.gpr.py @@ -32,7 +32,8 @@ try : OSMGPSMAP = True except: OSMGPSMAP = False - print _("WARNING: osmgpsmap module not loaded. " + import sys + print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. " "Geography functionality will not be available.") if OSMGPSMAP: