/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/mutabletree.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:
234
234
            _from_tree = self.basis_tree()
235
235
        changes = self.iter_changes(_from_tree)
236
236
        try:
237
 
            change = changes.next()
 
237
            change = next(changes)
238
238
            # Exclude root (talk about black magic... --vila 20090629)
239
239
            if change[4] == (None, None):
240
 
                change = changes.next()
 
240
                change = next(changes)
241
241
            return True
242
242
        except StopIteration:
243
243
            # No changes