fix header parsing. spotted by MattCampbell on irc. thx

This commit is contained in:
benoitc 2010-03-03 16:23:32 +01:00
parent 7f0b689851
commit 176ad162b1

View File

@ -58,7 +58,7 @@ class Parser(object):
_headers = {} _headers = {}
hname = "" hname = ""
for line in lines: for line in lines:
if line == "\t": if line.startswith("\t"):
headers[hname] += line.strip() headers[hname] += line.strip()
else: else:
try: try: