Commit 1cbc9b1a authored by Eric  DEVEAUD's avatar Eric DEVEAUD

better tag handling

parent 0b72ed69
......@@ -86,7 +86,12 @@ def get_value(data):
fields = data.split(':')
tag = fields[0]
value = ':'.join(fields[1:]).strip()
_, tag = tag.split('.')
_, tag = tag.split('.')
except ValueError as msg:
print >> sys.stderr, msg
print >> sys.stderr, tag
return tag, value
def get_pack(fh):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment