~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_patiencediff_py.py

  • Committer: Martin von Gagern
  • Date: 2008-06-26 17:18:55 UTC
  • mto: (3517.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 3518.
  • Revision ID: martin.vgagern@gmx.net-20080626171855-qqok6tbgkouo409t
Hand-selected minimalistic set of changes from my setlocale branch.
This introduces a call to setlocale without changing the behaviour of bzr.
Day of the week formatting is handled in Python to avoid locale dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
    length = 0
177
177
    for i_a, i_b in matches:
178
178
        if (start_a is not None
179
 
            and (i_a == start_a + length)
 
179
            and (i_a == start_a + length) 
180
180
            and (i_b == start_b + length)):
181
181
            length += 1
182
182
        else: