Show More
@@ -18,7 +18,7 b' from . import (' | |||||
18 |
|
18 | |||
19 | _mdre = re.compile('\1\n') |
|
19 | _mdre = re.compile('\1\n') | |
20 | def parsemeta(text): |
|
20 | def parsemeta(text): | |
21 |
"""return (metadatadict, |
|
21 | """return (metadatadict, metadatasize)""" | |
22 | # text can be buffer, so we can't use .startswith or .index |
|
22 | # text can be buffer, so we can't use .startswith or .index | |
23 | if text[:2] != '\1\n': |
|
23 | if text[:2] != '\1\n': | |
24 | return None, None |
|
24 | return None, None |
General Comments 0
You need to be logged in to leave comments.
Login now