[Checkins]
SVN: zc.relationship/branches/1.0/src/zc/relationship/shared.py
Merge minDepth fix from trunk r73093:73094
Alec Mitchell
apm13 at columbia.edu
Wed Oct 3 10:54:03 EDT 2007
Log message for revision 80549:
Merge minDepth fix from trunk r73093:73094
Changed:
U zc.relationship/branches/1.0/src/zc/relationship/shared.py
-=-
Modified: zc.relationship/branches/1.0/src/zc/relationship/shared.py
===================================================================
--- zc.relationship/branches/1.0/src/zc/relationship/shared.py 2007-10-03 14:29:39 UTC (rev 80548)
+++ zc.relationship/branches/1.0/src/zc/relationship/shared.py 2007-10-03 14:54:02 UTC (rev 80549)
@@ -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