Show More
@@ -11,7 +11,7 def extsetup(ui): | |||
|
11 | 11 | extensions.wrapfunction(repository.peer, 'capable', wrapcapable) |
|
12 | 12 | extensions.wrapfunction(localrepo.localrepository, 'peer', wrappeer) |
|
13 | 13 | def wrapcapable(orig, self, name, *args, **kwargs): |
|
14 | if name in '$CAP'.split(' '): | |
|
14 | if name in b'$CAP'.split(b' '): | |
|
15 | 15 | return False |
|
16 | 16 | return orig(self, name, *args, **kwargs) |
|
17 | 17 | def wrappeer(orig, self): |
General Comments 0
You need to be logged in to leave comments.
Login now