summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2012-05-04 09:30:16 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2012-05-04 09:30:16 (GMT)
commita1c23a9368768285fef4ad2a20e5fc4e36a5e904 (patch)
tree20cd1b303c2ebd434382a1735291e66c7020530d
parent4b4f9204c3884c97b474ec2e3451c3fafec0ce51 (diff)
downloadtabellio.pcfdb-a1c23a9368768285fef4ad2a20e5fc4e36a5e904.zip
tabellio.pcfdb-a1c23a9368768285fef4ad2a20e5fc4e36a5e904.tar.gz
tabellio.pcfdb-a1c23a9368768285fef4ad2a20e5fc4e36a5e904.tar.bz2
update meeting cri unconditionnaly (#1383)
-rw-r--r--tabellio/pcfdb/sync.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index 988b1ca..e0db924 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -976,9 +976,8 @@ class SyncFromPcfDbView(BrowserView):
log.debug('going to update meeting %s with doc %s', meeting_id, object.no)
if hasattr(self.parlevents_folder, meeting_id):
meeting = getattr(self.parlevents_folder, meeting_id)
- if meeting.cri is None:
- doc_intid = self.intids.getId(object)
- meeting.cri = RelationValue(doc_intid)
+ doc_intid = self.intids.getId(object)
+ meeting.cri = RelationValue(doc_intid)
else:
log.debug('not meeting found for %s', object.no)
meeting_cursor.close()