Author: jmorliaguet Date: Wed May 3 22:51:28 2006 New Revision: 3038 Modified: cpsskins/branches/paris-sprint-2006/relations/interfaces.py Log:
- added __iter__() to the interface specification otherwise we get a permission issue when exporting relations. Modified: cpsskins/branches/paris-sprint-2006/relations/interfaces.py ============================================================================== --- cpsskins/branches/paris-sprint-2006/relations/interfaces.py (original) +++ cpsskins/branches/paris-sprint-2006/relations/interfaces.py Wed May 3 22:51:28 2006 @@ -50,6 +50,9 @@ def __call__(): """Return the relation's predicate.""" + def __iter__(): + """Iterate through all relates.""" + def getPredicate(): """Get the predicate of the relation.""" -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins