##// END OF EJS Templates
py3: don’t encode node.bin() argument...
Manuel Jacob -
r50185:76f56d69 default
parent child Browse files
Show More
@@ -44,8 +44,6 b' def togitnode(n):'
44 def fromgitnode(n):
44 def fromgitnode(n):
45 """Opposite of togitnode."""
45 """Opposite of togitnode."""
46 assert len(n) == 40
46 assert len(n) == 40
47 if pycompat.ispy3:
48 return bin(n.encode('ascii'))
49 return bin(n)
47 return bin(n)
50
48
51
49
General Comments 0
You need to be logged in to leave comments. Login now