~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to colordiff.py

  • Committer: Jelmer Vernooij
  • Date: 2010-12-18 00:16:41 UTC
  • mto: This revision was merged to the branch mainline in revision 767.
  • Revision ID: jelmer@samba.org-20101218001641-1ex046f0brdoeip5
Add DiffWriter.writelines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
            self.chunks = []
131
131
        self.chunks = [newstuff[-1]]
132
132
 
 
133
    def writelines(self, lines):
 
134
        for line in lines:
 
135
            self.write(line)
 
136
 
133
137
    def _writeline(self, line):
134
138
        item = self.lp.parse_line(line)
135
139
        bad_ws_match = None