##// END OF EJS Templates
debugcommands: get_method should always return a sysstr...
Augie Fackler -
r39099:a2fa7247 default
parent child Browse files
Show More
@@ -3201,7 +3201,7 b' def debugwireproto(ui, repo, path=None, '
3201 3201 # urllib.Request insists on using has_data() as a proxy for
3202 3202 # determining the request method. Override that to use our
3203 3203 # explicitly requested method.
3204 req.get_method = lambda: method
3204 req.get_method = lambda: pycompat.sysstr(method)
3205 3205
3206 3206 try:
3207 3207 res = opener.open(req)
General Comments 0
You need to be logged in to leave comments. Login now