/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/bundle/bundle_data.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-05-26 09:35:13 UTC
  • mfrom: (6634.2.2 next_up_next)
  • Revision ID: breezy.the.bot@gmail.com-20170526093513-funr1gww70uc4mag
Make iterator objects and use of next Python 3 compatible

Merged from https://code.launchpad.net/~gz/brz/next_up_next/+merge/324586

Show diffs side-by-side

added added

removed removed

Lines of Context:
766
766
        entries = inv.iter_entries(from_dir=from_dir_id, recursive=recursive)
767
767
        if inv.root is not None and not include_root and from_dir is None:
768
768
            # skip the root for compatability with the current apis.
769
 
            entries.next()
 
769
            next(entries)
770
770
        for path, entry in entries:
771
771
            yield path, 'V', entry.kind, entry.file_id, entry
772
772