~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/rules.py

  • Committer: Ian Clatworthy
  • Date: 2008-05-15 14:39:19 UTC
  • mto: (3515.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3516.
  • Revision ID: ian.clatworthy@canonical.com-20080515143919-16pf8dgra3s6uab4
add tests for _StackedRulesSearcher

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
 
106
106
    def get_items(self, path, names=None):
107
107
        """See _RulesSearcher.get_items."""
108
 
        for searcher in searchers:
 
108
        for searcher in self.searchers:
109
109
            result = searcher.get_items(path, names)
110
110
            if result is not None:
111
111
                return result