##// END OF EJS Templates
py3: implement __bytes__ for committablectx...
Pulkit Goyal -
r32643:1df98fc9 default
parent child Browse files
Show More
@@ -1405,6 +1405,9 b' class committablectx(basectx):'
1405 def __str__(self):
1405 def __str__(self):
1406 return str(self._parents[0]) + r"+"
1406 return str(self._parents[0]) + r"+"
1407
1407
1408 def __bytes__(self):
1409 return bytes(self._parents[0]) + "+"
1410
1408 def __nonzero__(self):
1411 def __nonzero__(self):
1409 return True
1412 return True
1410
1413
General Comments 0
You need to be logged in to leave comments. Login now