branch | tls-sprint |
changeset 707 | 21a59b468f1a |
parent 698 | 7dfd03e9e810 |
child 714 | 39a2a6673171 |
--- a/vregistry.py Tue Feb 17 22:37:28 2009 +0100 +++ b/vregistry.py Tue Feb 17 22:37:59 2009 +0100 @@ -256,6 +256,7 @@ def register(self, obj, registryname=None, oid=None, clear=False): """base method to add an object in the registry""" + assert not '__abstract__' in obj.__dict__ registryname = registryname or obj.__registry__ oid = oid or obj.id registry = self._registries.setdefault(registryname, {})