##// END OF EJS Templates
pvec: fix a `str` type conditional for py3...
Matt Harbison -
r44184:10662ac7 stable
parent child Browse files
Show More
@@ -182,7 +182,7 b' def ctxpvec(ctx):'
182
182
183 class pvec(object):
183 class pvec(object):
184 def __init__(self, hashorctx):
184 def __init__(self, hashorctx):
185 if isinstance(hashorctx, str):
185 if isinstance(hashorctx, bytes):
186 self._bs = hashorctx
186 self._bs = hashorctx
187 self._depth, self._vec = _split(util.b85decode(hashorctx))
187 self._depth, self._vec = _split(util.b85decode(hashorctx))
188 else:
188 else:
General Comments 0
You need to be logged in to leave comments. Login now