merge
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 27 Jan 2009 18:49:56 +0100
changeset 486 831d5179cb3a
parent 485 0f830732be19 (current diff)
parent 481 06e4307507c6 (diff)
child 487 355356b781d7
merge
--- a/server/__init__.py	Tue Jan 27 18:46:49 2009 +0100
+++ b/server/__init__.py	Tue Jan 27 18:49:56 2009 +0100
@@ -113,6 +113,8 @@
     for eid, etype in needisfix:
         handler.session.unsafe_execute('SET X is E WHERE X eid %(x)s, E name %(name)s',
                                        {'x': eid, 'name': etype}, 'x')
+        handler.session.unsafe_execute('SET X is_instance_of E WHERE X eid %(x)s, E name %(name)s',
+                                       {'x': eid, 'name': etype}, 'x')
     # insert versions
     handler.cmd_add_entity('EProperty', pkey=u'system.version.cubicweb',
                            value=unicode(config.cubicweb_version()))