s/exc_info=1/exc_info=True/g
This commit is contained in:
parent
6b70fa36c7
commit
d70bd8797a
14 changed files with 28 additions and 28 deletions
|
|
@ -48,7 +48,7 @@ def lookup(id):
|
|||
data = read_url(url, timeout=0).decode('utf-8')
|
||||
mods = ET.fromstring(data)
|
||||
except:
|
||||
logger.debug('lookup for %s url: %s failed', id, url, exc_info=1)
|
||||
logger.debug('lookup for %s url: %s failed', id, url, exc_info=True)
|
||||
return info
|
||||
|
||||
title = mods.findall(ns + 'titleInfo')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue