Author: jmorliaguet Date: Sun Jul 2 23:36:42 2006 New Revision: 3598 Modified: cpsskins/branches/paris-sprint-2006/storage/locations.py
Log: - simpler condition Modified: cpsskins/branches/paris-sprint-2006/storage/locations.py ============================================================================== --- cpsskins/branches/paris-sprint-2006/storage/locations.py (original) +++ cpsskins/branches/paris-sprint-2006/storage/locations.py Sun Jul 2 23:36:42 2006 @@ -110,7 +110,7 @@ continue l = self[key] start, end = l.scope - if (start == 0 or i >= start) and (end == 0 or i < end): + if (i >= start) and (i < end or end == 0): return l return None -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins