From 32b31cd70c2eab266482a47568230098f0de411d Mon Sep 17 00:00:00 2001 From: j Date: Mon, 9 Mar 2015 16:04:26 +0530 Subject: [PATCH] logging --- oml/meta/loc.py | 2 +- oml/meta/worldcat.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/oml/meta/loc.py b/oml/meta/loc.py index 6bcae70..ebac04d 100644 --- a/oml/meta/loc.py +++ b/oml/meta/loc.py @@ -30,7 +30,7 @@ def get_ids(key, value): for value in info[key]: ids.append((key, value)) if ids: - logger.debug('get_ids %s,%s => %s', key, value, ids) + logger.debug('get_ids %s %s => %s', key, value, ids) return ids def lookup(id): diff --git a/oml/meta/worldcat.py b/oml/meta/worldcat.py index da8108f..9f16caf 100644 --- a/oml/meta/worldcat.py +++ b/oml/meta/worldcat.py @@ -35,8 +35,7 @@ def get_ids(key, value): for value in info['isbn']: ids.append(('isbn', value)) if ids: - logger.debug('get_ids %s %s', key, value) - logger.debug('%s', ids) + logger.debug('get_ids %s %s => %s', key, value, ids) return ids def lookup(id):