# HG changeset patch # User Sylvain Thénault # Date 1288944850 -3600 # Node ID 2008fd2f628ccef13ac681f320be64ea64f18a97 # Parent c34fa947df07c69ea30238813b0c7c4a2767b619 [ms] fix error in synchronisation: local_eid return a 2-uple diff -r c34fa947df07 -r 2008fd2f628c 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)