/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/status.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:
334
334
        rev_id_iterator = _get_sorted_revisions(merge, merge_extra,
335
335
                            branch.repository.get_parent_map(merge_extra))
336
336
        # Skip the first node
337
 
        num, first, depth, eom = rev_id_iterator.next()
 
337
        num, first, depth, eom = next(rev_id_iterator)
338
338
        if first != merge:
339
339
            raise AssertionError('Somehow we misunderstood how'
340
340
                ' iter_topo_order works %s != %s' % (first, merge))