--- a/appobject.py Tue Feb 17 23:34:01 2009 +0100
+++ b/appobject.py Tue Feb 17 23:34:17 2009 +0100
@@ -56,7 +56,7 @@
@classmethod
def registered(cls, vreg):
- super(AppRsetObject, cls).registered(vregistry)
+ super(AppRsetObject, cls).registered(vreg)
cls.vreg = vreg
cls.schema = vreg.schema
cls.config = vreg.config
--- a/vregistry.py Tue Feb 17 23:34:01 2009 +0100
+++ b/vregistry.py Tue Feb 17 23:34:17 2009 +0100
@@ -582,7 +582,7 @@
"""
if self is selector:
return self
- if isinstance(selector, type) and instance(self, selector):
+ if isinstance(selector, type) and isinstance(self, selector):
return self
return None