File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -823,15 +823,15 @@ def clearRestraints(self, recurse=False):
823
823
"""
824
824
self .unrestrain (* self ._restraints )
825
825
if recurse :
826
- for msg in filter (_has_clear_restraints () , self ._iterManaged ()):
826
+ for msg in filter (_has_clear_restraints , self ._iterManaged ()):
827
827
msg .clearRestraints (recurse )
828
828
return
829
829
830
830
def _getConstraints (self , recurse = True ):
831
831
"""Get the constrained Parameters for this and managed sub-objects."""
832
832
constraints = {}
833
833
if recurse :
834
- for m in filter (_has_get_constraints () , self ._iterManaged ()):
834
+ for m in filter (_has_get_constraints , self ._iterManaged ()):
835
835
constraints .update (m ._getConstraints (recurse ))
836
836
837
837
constraints .update (self ._constraints )
@@ -845,7 +845,7 @@ def _getRestraints(self, recurse=True):
845
845
"""
846
846
restraints = set (self ._restraints )
847
847
if recurse :
848
- for m in filter (_has_get_restraints () , self ._iterManaged ()):
848
+ for m in filter (_has_get_restraints , self ._iterManaged ()):
849
849
restraints .update (m ._getRestraints (recurse ))
850
850
851
851
return restraints
You can’t perform that action at this time.
0 commit comments