From 26844104522632152e99d64cd7bbef92e38dbc79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 4 May 2012 14:18:23 +0200 Subject: [PATCH] fix removal of questions --- tabellio/pcfdb/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py index 8e0450d..e71f5a9 100644 --- a/tabellio/pcfdb/sync.py +++ b/tabellio/pcfdb/sync.py @@ -1098,7 +1098,7 @@ class SyncFromPcfDbView(BrowserView): 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) + self.questions_folder.manage_delObjects([dos_id]) continue if not hasattr(self.questions_folder, dos_id): self.questions_folder.invokeFactory('tabellio.documents.question', dos_id)