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 = {}
hname = ""
for line in lines:
if line == "\t":
if line.startswith("\t"):
headers[hname] += line.strip()
else:
try: