Commit f7fa4773 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 628dd541
......@@ -507,7 +507,7 @@ class ObjectData(Object):
size = data.size
else:
size = len(data)
z = b('obj %s %d %s:%s' % (ashex(self.oid), size, self.hashfunc, ashex(self.hash_)))
z = b'obj %s %d %s:%s' % (ashex(self.oid), size, b(self.hashfunc), ashex(self.hash_))
if hashonly:
z += b' -'
else:
......
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