[Zope-Checkins] SVN: Zope/branches/2.13/src/Products/ZCatalog/Lazy.py restore pep8 clean-ups (from c115289) accidentally reverted in c118863
Andreas Zeidler
az at zitc.de
Wed Dec 15 02:38:22 EST 2010
Log message for revision 118895:
restore pep8 clean-ups (from c115289) accidentally reverted in c118863
Changed:
U Zope/branches/2.13/src/Products/ZCatalog/Lazy.py
-=-
Modified: Zope/branches/2.13/src/Products/ZCatalog/Lazy.py
===================================================================
--- Zope/branches/2.13/src/Products/ZCatalog/Lazy.py 2010-12-15 06:49:42 UTC (rev 118894)
+++ Zope/branches/2.13/src/Products/ZCatalog/Lazy.py 2010-12-15 07:38:21 UTC (rev 118895)
@@ -145,19 +145,19 @@
# Don't access data until necessary
def __init__(self, func, seq, length=None):
- self._seq=seq
- self._func=func
+ self._seq = seq
+ self._func = func
if length is not None:
- self._len=length
+ self._len = length
else:
self._len = len(seq)
self._marker = object()
self._data = [self._marker] * self._len
- def __getitem__(self,index):
- data=self._data
+ def __getitem__(self, index):
+ data = self._data
try:
- s=self._seq
+ s = self._seq
except AttributeError:
return data[index]
More information about the Zope-Checkins
mailing list