logging
This commit is contained in:
parent
0f937f2f42
commit
32b31cd70c
2 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,7 @@ def get_ids(key, value):
|
||||||
for value in info[key]:
|
for value in info[key]:
|
||||||
ids.append((key, value))
|
ids.append((key, value))
|
||||||
if ids:
|
if ids:
|
||||||
logger.debug('get_ids %s,%s => %s', key, value, ids)
|
logger.debug('get_ids %s %s => %s', key, value, ids)
|
||||||
return ids
|
return ids
|
||||||
|
|
||||||
def lookup(id):
|
def lookup(id):
|
||||||
|
|
|
@ -35,8 +35,7 @@ def get_ids(key, value):
|
||||||
for value in info['isbn']:
|
for value in info['isbn']:
|
||||||
ids.append(('isbn', value))
|
ids.append(('isbn', value))
|
||||||
if ids:
|
if ids:
|
||||||
logger.debug('get_ids %s %s', key, value)
|
logger.debug('get_ids %s %s => %s', key, value, ids)
|
||||||
logger.debug('%s', ids)
|
|
||||||
return ids
|
return ids
|
||||||
|
|
||||||
def lookup(id):
|
def lookup(id):
|
||||||
|
|
Loading…
Reference in a new issue