[ms] fix error in synchronisation: local_eid return a 2-uple stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 05 Nov 2010 09:14:10 +0100
branchstable
changeset 6672 2008fd2f628c
parent 6671 c34fa947df07
child 6673 5eb2f1f2c277
[ms] fix error in synchronisation: local_eid return a 2-uple
server/sources/pyrorql.py
--- a/server/sources/pyrorql.py	Fri Nov 05 09:12:57 2010 +0100
+++ b/server/sources/pyrorql.py	Fri Nov 05 09:14:10 2010 +0100
@@ -255,7 +255,7 @@
         try:
             for etype, extid in modified:
                 try:
-                    eid = self.local_eid(cnx, extid, session)
+                    eid = self.local_eid(cnx, extid, session)[0]
                     if eid is not None:
                         rset = session.eid_rset(eid, etype)
                         entity = rset.get_entity(0, 0)