4114: use stdin/stdout/stderr; plugins

svn: r17279
This commit is contained in:
Michiel Nauta 2011-04-26 17:46:41 +00:00
parent 924d9d6744
commit 2f09fedfe4
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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: