##// END OF EJS Templates
py3: ensure that we don't concat bytes and str and the end result is bytes...
Pulkit Goyal -
r32614:4b426ae9 default
parent child Browse files
Show More
@@ -31,7 +31,7 b' def _pythonhook(ui, repo, htype, hname, '
31
31
32 if callable(funcname):
32 if callable(funcname):
33 obj = funcname
33 obj = funcname
34 funcname = obj.__module__ + "." + obj.__name__
34 funcname = pycompat.sysbytes(obj.__module__ + r"." + obj.__name__)
35 else:
35 else:
36 d = funcname.rfind('.')
36 d = funcname.rfind('.')
37 if d == -1:
37 if d == -1:
General Comments 0
You need to be logged in to leave comments. Login now