Show More
@@ -27,7 +27,7 b' class AnnotateTests(unittest.TestCase):' | |||||
27 |
|
27 | |||
28 | def decorate(text, rev): |
|
28 | def decorate(text, rev): | |
29 | return ([annotateline(fctx=rev, lineno=i) |
|
29 | return ([annotateline(fctx=rev, lineno=i) | |
30 |
for i in |
|
30 | for i in range(1, text.count(b'\n') + 1)], | |
31 | text) |
|
31 | text) | |
32 |
|
32 | |||
33 | # Basic usage |
|
33 | # Basic usage |
General Comments 0
You need to be logged in to leave comments.
Login now