hooks/metadata.py
changeset 5174 78438ad513ca
parent 5066 bf5cbc351e99
child 5423 e15abfdcce38
--- a/hooks/metadata.py	Wed Apr 07 09:24:00 2010 +0200
+++ b/hooks/metadata.py	Wed Apr 07 14:26:35 2010 +0200
@@ -102,8 +102,7 @@
     def precommit_event(self):
         self.session.execute('SET X owned_by U WHERE C owned_by U, C eid %(c)s,'
                              'NOT EXISTS(X owned_by U, X eid %(x)s)',
-                             {'c': self.compositeeid, 'x': self.composedeid},
-                             ('c', 'x'))
+                             {'c': self.compositeeid, 'x': self.composedeid})
 
 
 class SyncCompositeOwner(MetaDataHook):