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