[Zope3-checkins]
SVN: Zope3/branches/3.3/src/zope/app/component/back35.py
backport bugfix from revision 71115:
Roger Ineichen
roger at projekt01.ch
Mon Nov 13 04:52:09 EST 2006
Log message for revision 71116:
backport bugfix from revision 71115:
- Avoid to get a KeyError in generation 3 evolve method
Changed:
U Zope3/branches/3.3/src/zope/app/component/back35.py
-=-
Modified: Zope3/branches/3.3/src/zope/app/component/back35.py
===================================================================
--- Zope3/branches/3.3/src/zope/app/component/back35.py 2006-11-13 02:56:10 UTC (rev 71115)
+++ Zope3/branches/3.3/src/zope/app/component/back35.py 2006-11-13 09:52:05 UTC (rev 71116)
@@ -893,7 +893,7 @@
def __setstate__(self, state):
if '_registrations' in state:
# convert data to generation 3 data structure:
- next = state['next']
+ next = state.get('next')
if next is None:
next = state['base']
bases = (next, )
More information about the Zope3-Checkins
mailing list