Show More
@@ -151,6 +151,8 b' def inserthgheader(lines, header, value)' | |||
|
151 | 151 | return lines |
|
152 | 152 | |
|
153 | 153 | def insertplainheader(lines, header, value): |
|
154 | if lines and lines[0] and ':' not in lines[0]: | |
|
155 | lines.insert(0, '') | |
|
154 | 156 | lines.insert(0, '%s: %s' % (header, value)) |
|
155 | 157 | return lines |
|
156 | 158 |
General Comments 0
You need to be logged in to leave comments.
Login now