projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hypens are allowed as key names in RFC822-style data.
[cumulus.git]
/
lbs.py
diff --git
a/lbs.py
b/lbs.py
index
392bb04
..
507b9e1
100644
(file)
--- a/
lbs.py
+++ b/
lbs.py
@@
-263,7
+263,7
@@
def parse(lines, terminate=None):
last_key = None
continue
last_key = None
continue
- m = re.match(r"^(
\w
+):\s*(.*)$", l)
+ m = re.match(r"^(
[-\w]
+):\s*(.*)$", l)
if m:
dict[m.group(1)] = m.group(2)
last_key = m.group(1)
if m:
dict[m.group(1)] = m.group(2)
last_key = m.group(1)