4114: use stdin/stdout/stderr; plugins

svn: r17278
This commit is contained in:
Michiel Nauta committed 2011-04-26 17:45:56 +00:00
1 parent 780219fbea
commit dd1958ba82
2 files changed
+4 -2

No files matched your search

+2 -1
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
+2 -1
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: