~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to colordiff.py

  • Committer: Aaron Bentley
  • Date: 2007-01-16 22:17:34 UTC
  • Revision ID: abentley@panoramicfeedback.com-20070116221734-ijxdmpekl9swpf4x
Tweak colordiff/shelf changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        sys.stdout = real_stdout
157
157
    if check_style:
158
158
        if dw.added_trailing_whitespace > 0:
159
 
            trace.warning('%d new lines have trailing whitespace.' %
 
159
            trace.warning('%d new line(s) has trailing whitespace.' %
160
160
                          dw.added_trailing_whitespace)
161
161
        if dw.spurious_whitespace > 0:
162
 
            trace.warning('%d lines have spurious whitespace changes' %
 
162
            trace.warning('%d line(s) has spurious whitespace changes' %
163
163
                          dw.spurious_whitespace)
164
164