/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/_annotator_py.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-06-04 20:40:27 UTC
  • mfrom: (6651.2.2 xrangeless)
  • Revision ID: breezy.the.bot@gmail.com-20170604204027-6mgwojse24hlh0wt
Apply 2to3 xrange fixer

Merged from https://code.launchpad.net/~gz/brz/xrangeless/+merge/325046

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    osutils,
32
32
    ui,
33
33
    )
 
34
from .sixish import (
 
35
    range,
 
36
    )
34
37
 
35
38
 
36
39
class Annotator(object):
183
186
            par_sub = parent_annotations[parent_idx:parent_idx + match_len]
184
187
            if ann_sub == par_sub:
185
188
                continue
186
 
            for idx in xrange(match_len):
 
189
            for idx in range(match_len):
187
190
                ann = ann_sub[idx]
188
191
                par_ann = par_sub[idx]
189
192
                ann_idx = lines_idx + idx