s/exc_info=1/exc_info=True/g

This commit is contained in:
j 2016-01-24 14:43:03 +05:30
commit d70bd8797a
14 changed files with 28 additions and 28 deletions

View file

@ -17,7 +17,7 @@ def info(opf):
with open(opf, 'rb') as fd:
opf = ET.fromstring(fd.read().decode())
except:
logger.debug('failed to load opf %s', opf, exc_info=1)
logger.debug('failed to load opf %s', opf, exc_info=True)
return data
ns = '{http://www.idpf.org/2007/opf}'
metadata = opf.findall(ns + 'metadata')[0]