Header parser: identifiers ending with ';' are now handled
This commit is contained in:
1 parent
9e3ac477eb
commit
d21f4a6f90
1 file changed
+2
@@ -65,6 +65,8 @@ cpdef tuple parseHeader(str header):
|
|||||||
m=header[1:-1].split(maxsplit=1)
|
m=header[1:-1].split(maxsplit=1)
|
||||||
|
|
||||||
ident=m[0]
|
ident=m[0]
|
||||||
|
if ident[-1] == ';':
|
||||||
|
ident = ident[:-1]
|
||||||
|
|
||||||
if len(m)==1:
|
if len(m)==1:
|
||||||
tags={}
|
tags={}
|
||||||
|
|||||||
Reference in new issue
Block a user