server/sources/extlite.py
branchtls-sprint
changeset 1409 f4dee84a618f
parent 1263 01152fffd593
child 1482 93c613913912
--- a/server/sources/extlite.py	Mon Apr 20 19:53:59 2009 +0200
+++ b/server/sources/extlite.py	Mon Apr 20 19:54:36 2009 +0200
@@ -213,7 +213,8 @@
         cu = session.pool[self.uri]
         if attrs is None:
             attrs = self.sqladapter.preprocess_entity(entity)
-        sql = self.sqladapter.sqlgen.update(SQL_PREFIX + str(entity.e_schema), attrs, ['eid'])
+        sql = self.sqladapter.sqlgen.update(SQL_PREFIX + str(entity.e_schema), attrs,
+                                            [SQL_PREFIX + 'eid'])
         cu.execute(sql, attrs)
         
     def update_entity(self, session, entity):