Show More
@@ -82,10 +82,7 b' def decodeextra(text):' | |||
|
82 | 82 | |
|
83 | 83 | def encodeextra(d): |
|
84 | 84 | # keys must be sorted to produce a deterministic changelog entry |
|
85 | items = [ | |
|
86 | _string_escape(b'%s:%s' % (k, pycompat.bytestr(d[k]))) | |
|
87 | for k in sorted(d) | |
|
88 | ] | |
|
85 | items = [_string_escape(b'%s:%s' % (k, d[k])) for k in sorted(d)] | |
|
89 | 86 | return b"\0".join(items) |
|
90 | 87 | |
|
91 | 88 |
General Comments 0
You need to be logged in to leave comments.
Login now