~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interrepository/test_fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-08 13:07:11 UTC
  • mto: This revision was merged to the branch mainline in revision 5843.
  • Revision ID: jelmer@samba.org-20110508130711-idrk0wq7aj3d7vq6
Fix more uses of Tree.__iter__

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            tree.lock_read()
77
77
            self.addCleanup(tree.unlock)
78
78
            tree.get_file_text('file1')
79
 
            for file_id in tree:
 
79
            for file_id in tree.all_file_ids():
80
80
                if tree.inventory[file_id].kind == "file":
81
81
                    tree.get_file(file_id).read()
82
82