[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/registry.py
Make sure the bases are a tuple, like it is done in the constructor.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun Sep 3 14:45:51 EDT 2006
Log message for revision 69947:
Make sure the bases are a tuple, like it is done in the constructor.
Changed:
U Zope3/trunk/src/zope/component/registry.py
-=-
Modified: Zope3/trunk/src/zope/component/registry.py
===================================================================
--- Zope3/trunk/src/zope/component/registry.py 2006-09-03 18:45:11 UTC (rev 69946)
+++ Zope3/trunk/src/zope/component/registry.py 2006-09-03 18:45:51 UTC (rev 69947)
@@ -58,7 +58,7 @@
base.adapters for base in bases])
self.utilities.__bases__ = tuple([
base.utilities for base in bases])
- self.__dict__['__bases__'] = bases
+ self.__dict__['__bases__'] = tuple(bases)
__bases__ = property(
lambda self: self._getBases(),
More information about the Zope3-Checkins
mailing list