4114: use stdin/stdout/stderr; plugins

svn: r17278
This commit is contained in:
Michiel Nauta 2011-04-26 17:45:56 +00:00
parent 780219fbea
commit dd1958ba82
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: