0005785: print statements in Check.py causing a crash in Windows (pythonw.exe) after outputting 4096 characters. Change warning print statements to logging.
svn: r20010
This commit is contained in:
@ -86,9 +86,9 @@ try:
|
||||
import pyexiv2
|
||||
available = True
|
||||
except:
|
||||
import sys
|
||||
print >> sys.stderr, _("WARNING: pyexiv2 module not loaded. "
|
||||
"Image metadata functionality will not be available.")
|
||||
import logging
|
||||
logging.warning(_("WARNING: pyexiv2 module not loaded. "
|
||||
"Image metadata functionality will not be available."))
|
||||
available = False
|
||||
|
||||
if available:
|
||||
|
Reference in New Issue
Block a user