From 2ae620f506756d61990930d2689ff05f4327196a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 11 May 2012 11:54:17 +0200 Subject: [PATCH] always use proper logger --- tabellio/pcfdb/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py index 3741905..98749b2 100644 --- a/tabellio/pcfdb/sync.py +++ b/tabellio/pcfdb/sync.py @@ -1020,7 +1020,7 @@ class SyncFromPcfDbView(BrowserView): count += 1 dos_id, state, dostype, sess, no, intit, authors, curcom, polgroups, topics = row - logging.debug('dos id: %s', dos_id) + log.debug('dos id: %s', dos_id) new_one = False if not hasattr(self.dossiers_folder, dos_id): @@ -1097,7 +1097,7 @@ class SyncFromPcfDbView(BrowserView): if intit and '\n' in intit: intit = intit.replace('\n', ' ').replace('\r', '') if re.match('q[0-9]+$', intit): - logging.debug('skipping question, %s', intit) + log.debug('skipping question, %s', intit) if hasattr(self.questions_folder, dos_id): self.questions_folder.manage_delObjects([dos_id]) continue