Show More
@@ -12,6 +12,7 b' import os' | |||||
12 | import struct |
|
12 | import struct | |
13 |
|
13 | |||
14 | from .i18n import _ |
|
14 | from .i18n import _ | |
|
15 | from .node import bin | |||
15 | from . import ( |
|
16 | from . import ( | |
16 | error, |
|
17 | error, | |
17 | mdiff, |
|
18 | mdiff, | |
@@ -151,7 +152,7 b' class lazymanifestiterentries(object):' | |||||
151 | __next__ = next |
|
152 | __next__ = next | |
152 |
|
153 | |||
153 | def unhexlify(data, extra, pos, length): |
|
154 | def unhexlify(data, extra, pos, length): | |
154 |
s = data[pos:pos + length] |
|
155 | s = bin(data[pos:pos + length]) | |
155 | if extra: |
|
156 | if extra: | |
156 | s += chr(extra & 0xff) |
|
157 | s += chr(extra & 0xff) | |
157 | return s |
|
158 | return s |
General Comments 0
You need to be logged in to leave comments.
Login now