Mercurial > diff-colorize
comparison diff-colorize.py @ 12:73f326ec8142
Removed the now-unnecessary print statement for RESET_FORMAT, since we now output RESET_FORMAT at the end of every loop iteration, rather than the beginning.
author | Peter Hosey |
---|---|
date | Mon, 11 Aug 2008 01:10:26 -0700 |
parents | cce6b860a98d |
children | 89284f926abb |
comparison
equal
deleted
inserted
replaced
11:999d7dccf66a | 12:73f326ec8142 |
---|---|
123 line = line[len(prefix_to_test):] | 123 line = line[len(prefix_to_test):] |
124 | 124 |
125 sys.stdout.write(line) | 125 sys.stdout.write(line) |
126 | 126 |
127 sys.stdout.write(RESET_FORMAT) | 127 sys.stdout.write(RESET_FORMAT) |
128 | |
129 print RESET_FORMAT |