# HG changeset patch # User Sylvain Thénault # Date 1249034672 -7200 # Node ID 79bbc5045288860a7d45d3e06515a06b38ce6a4c # Parent 5c837feca73a26ef984237e6ef51bd2925da7bbe [vreg] consider __abstract__ in register_all diff -r 5c837feca73a -r 79bbc5045288 vregistry.py --- a/vregistry.py Thu Jul 30 12:30:12 2009 +0200 +++ b/vregistry.py Fri Jul 31 12:04:32 2009 +0200 @@ -196,7 +196,7 @@ oid = obj.id except AttributeError: continue - if oid: + if oid and not '__abstract__' in obj.__dict__: self.register(obj) def register(self, obj, registryname=None, oid=None, clear=False):