server/migractions.py
branchstable
changeset 5552 11175c77be9c
parent 5551 e41cd3bf5080
child 5556 9ab2b4c74baf
child 5666 58d6c2c96500
--- a/server/migractions.py	Thu May 20 10:41:36 2010 +0200
+++ b/server/migractions.py	Thu May 20 10:55:33 2010 +0200
@@ -1200,7 +1200,7 @@
         source = self.repo.system_source
         storage = source.storage(etype, attribute)
         source.unset_storage(etype, attribute)
-        rset = self.rqlexec('Any X WHERE X is %s' etype, ask_confirm=False)
+        rset = self.rqlexec('Any X WHERE X is %s' % etype, ask_confirm=False)
         pb = ProgressBar(len(rset))
         for entity in rset.entities():
             # fill cache. Do not fetch that attribute using the global rql query