etwist/server.py
changeset 2657 de974465d381
parent 2654 6512522860aa
child 2670 4747145ff69c
--- a/etwist/server.py	Mon Aug 03 14:14:07 2009 +0200
+++ b/etwist/server.py	Mon Aug 03 15:16:47 2009 +0200
@@ -330,7 +330,7 @@
 def _gc_debug():
     import gc
     from pprint import pprint
-    from cubicweb.vregistry import VObject
+    from cubicweb.appobject import AppObject
     gc.collect()
     count = 0
     acount = 0
@@ -338,7 +338,7 @@
     for obj in gc.get_objects():
         if isinstance(obj, CubicWebTwistedRequestAdapter):
             count += 1
-        elif isinstance(obj, VObject):
+        elif isinstance(obj, AppObject):
             acount += 1
         else:
             try: