4114: use stdin/stdout/stderr; plugins
svn: r17279
This commit is contained in:
parent
924d9d6744
commit
2f09fedfe4
@ -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