Show More
@@ -3201,7 +3201,7 b' def debugwireproto(ui, repo, path=None, ' | |||||
3201 | # urllib.Request insists on using has_data() as a proxy for |
|
3201 | # urllib.Request insists on using has_data() as a proxy for | |
3202 | # determining the request method. Override that to use our |
|
3202 | # determining the request method. Override that to use our | |
3203 | # explicitly requested method. |
|
3203 | # explicitly requested method. | |
3204 | req.get_method = lambda: method |
|
3204 | req.get_method = lambda: pycompat.sysstr(method) | |
3205 |
|
3205 | |||
3206 | try: |
|
3206 | try: | |
3207 | res = opener.open(req) |
|
3207 | res = opener.open(req) |
General Comments 0
You need to be logged in to leave comments.
Login now