log when we skip a question

This commit is contained in:
Frédéric Péters 2012-05-04 12:06:12 +02:00
parent e45e851dab
commit c7dff62151
1 changed files with 1 additions and 0 deletions

View File

@ -1096,6 +1096,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)
if hasattr(self.questions_folder, dos_id):
self.questions_folder.manage_delObjects(dos_id)
continue