equal
deleted
inserted
replaced
119 |
119 |
120 def decode_extra(self, text): |
120 def decode_extra(self, text): |
121 extra = {} |
121 extra = {} |
122 for l in text.split('\0'): |
122 for l in text.split('\0'): |
123 if l: |
123 if l: |
124 k, v = text.decode('string_escape').split(':', 1) |
124 k, v = l.decode('string_escape').split(':', 1) |
125 extra[k] = v |
125 extra[k] = v |
126 return extra |
126 return extra |
127 |
127 |
128 def encode_extra(self, d): |
128 def encode_extra(self, d): |
129 # keys must be sorted to produce a deterministic changelog entry |
129 # keys must be sorted to produce a deterministic changelog entry |