/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/per_tree/test_inv.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-03 03:20:44 UTC
  • mfrom: (7018.3.10 git-fixes)
  • Revision ID: breezy.the.bot@gmail.com-20180703032044-t5a5w5y0tmzrbezc
Port a few more bits of the git plugin to python 3.

Merged from https://code.launchpad.net/~jelmer/brz/git-fixes2/+merge/348803

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
 
36
36
def get_entry(tree, path):
37
 
    return tree.iter_entries_by_dir(specific_files=[path]).next()[1]
 
37
    return next(tree.iter_entries_by_dir(specific_files=[path]))[1]
38
38
 
39
39
 
40
40
class TestInventoryWithSymlinks(per_tree.TestCaseWithTree):