server/sources/pyrorql.py
branchstable
changeset 6672 2008fd2f628c
parent 6655 75112ff0511d
child 6724 24bf6f181d0e
--- 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)