[Checkins] SVN: zc.relationship/trunk/src/zc/relationship/shared.py
Fix typo in mindepth support
Alec Mitchell
apm13 at columbia.edu
Fri Mar 9 01:33:46 EST 2007
Log message for revision 73094:
Fix typo in mindepth support
Changed:
U zc.relationship/trunk/src/zc/relationship/shared.py
-=-
Modified: zc.relationship/trunk/src/zc/relationship/shared.py
===================================================================
--- zc.relationship/trunk/src/zc/relationship/shared.py 2007-03-09 04:18:06 UTC (rev 73093)
+++ zc.relationship/trunk/src/zc/relationship/shared.py 2007-03-09 06:33:46 UTC (rev 73094)
@@ -190,7 +190,7 @@
return None
if not isinstance(depth, (int, long)) or depth < 1:
raise ValueError('invalid minDepth', depth)
- return lambda relchain, query, index, cache: len(relchain) >= minDepth
+ return lambda relchain, query, index, cache: len(relchain) >= depth
class AbstractContainer(persistent.Persistent):
def __init__(self,
More information about the Checkins
mailing list