[repository] fix bad indentation in glob_update_entity, source.update_entity() should be called once per update stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 08 Apr 2010 14:40:18 +0200
branchstable
changeset 5187 5f9a2b32c9e1
parent 5186 f3c2cb460ad9
child 5192 e9dd56699097
[repository] fix bad indentation in glob_update_entity, source.update_entity() should be called once per update
server/repository.py
--- a/server/repository.py	Thu Apr 08 12:42:47 2010 +0200
+++ b/server/repository.py	Thu Apr 08 14:40:18 2010 +0200
@@ -1104,7 +1104,7 @@
                                       eidfrom=entity.eid, rtype=attr, eidto=value)
                     if not only_inline_rels:
                         hm.call_hooks('before_update_entity', session, entity=entity)
-                source.update_entity(session, entity)
+            source.update_entity(session, entity)
             self.system_source.update_info(session, entity, need_fti_update)
             if source.should_call_hooks:
                 if not only_inline_rels: