summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2012-05-04 12:18:23 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2012-05-04 12:18:39 (GMT)
commit26844104522632152e99d64cd7bbef92e38dbc79 (patch)
treed05c4e594041a27bac3bb6b029c714d06a4bb6dc
parentc7dff62151a16f38768b9b55733b956927df0c9e (diff)
downloadtabellio.pcfdb-26844104522632152e99d64cd7bbef92e38dbc79.zip
tabellio.pcfdb-26844104522632152e99d64cd7bbef92e38dbc79.tar.gz
tabellio.pcfdb-26844104522632152e99d64cd7bbef92e38dbc79.tar.bz2
fix removal of questions
-rw-r--r--tabellio/pcfdb/sync.py2
1 files changed, 1 insertions, 1 deletions
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)