always use proper logger

This commit is contained in:
Frédéric Péters 2012-05-11 11:54:17 +02:00
parent 818be34579
commit 2ae620f506
1 changed files with 2 additions and 2 deletions

View File

@ -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