4114: use stdin/stdout/stderr; plugins
svn: r17278
This commit is contained in:
parent
780219fbea
commit
dd1958ba82
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user