summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2012-05-11 09:54:17 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2012-05-11 09:54:17 (GMT)
commit2ae620f506756d61990930d2689ff05f4327196a (patch)
treee0b6358928819ec4067218193001e0b5add7ca66
parent818be345791c512c2eb5da3073421755e4b49b71 (diff)
downloadtabellio.pcfdb-2ae620f506756d61990930d2689ff05f4327196a.zip
tabellio.pcfdb-2ae620f506756d61990930d2689ff05f4327196a.tar.gz
tabellio.pcfdb-2ae620f506756d61990930d2689ff05f4327196a.tar.bz2
always use proper logger
-rw-r--r--tabellio/pcfdb/sync.py4
1 files 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