diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-09-15 15:01:05 -0500 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-09-15 15:01:05 -0500 |
commit | 5c52c2f6afb489f7285e17662f4b5ff440e1ca0c (patch) | |
tree | 9a4ae8a8e3e5c749804ac5ccf704b18fba467f99 | |
parent | feb1c4788d7399dfafa7e7f82903d12ef9dbc998 (diff) |
Fix ' git bz attach' failure when bugzilla server has a path
I had accidentally prepended the bugzilla installation path in both
BugServer.send_post() and BugServer.send_request() (which is called by
send_post()), so the path was getting prepended twice when trying to attach a
patch.
-rwxr-xr-x | git-bz | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -865,8 +865,6 @@ class BugServer(object): def send_post(self, url, fields, files=None): content_type, body = encode_multipart_formdata(fields, files) - if self.path: - url = self.path + url return self.send_request("POST", url, data=body, headers={ 'Content-Type': content_type }) def get_xmlrpc_proxy(self): |