From 5c52c2f6afb489f7285e17662f4b5ff440e1ca0c Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Tue, 15 Sep 2009 15:01:05 -0500 Subject: 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. --- git-bz | 2 -- 1 file changed, 2 deletions(-) diff --git a/git-bz b/git-bz index 2edb3f5..c45b7f3 100755 --- a/git-bz +++ b/git-bz @@ -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): -- cgit v1.2.3