server/migractions.py
branchstable
changeset 6117 f3fdfcbda54b
parent 6116 2530e9c45296
child 6118 45eccda89480
--- a/server/migractions.py	Tue Aug 17 15:25:17 2010 +0200
+++ b/server/migractions.py	Tue Aug 17 15:25:29 2010 +0200
@@ -870,8 +870,8 @@
                          ask_confirm=False)
             # old entity type has not been added to the schema, can't gather it
             new = schema.eschema(newname)
-            oldeid = self.rqlexec('CWEType ET WHERE ET name %(on)s', {'on': oldname},
-                                  ask_confirm=False)[0][0]
+            oldeid = self.rqlexec('CWEType ET WHERE ET name %(on)s',
+                                  {'on': oldname}, ask_confirm=False)[0][0]
             # backport old type relations to new type
             # XXX workflows, other relations?
             for r1, rr1 in [('from_entity', 'to_entity'),