jmhodges (owner)

Revisions

gist: 170062 Download_button fork
public
Public Clone URL: git://gist.github.com/170062.git
Embed All Files: show embed
suds_client.patch #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/git-jira-attacher.py b/git-jira-attacher.py
index 6ad4dda..1186edb 100755
--- a/git-jira-attacher.py
+++ b/git-jira-attacher.py
@@ -78,8 +78,7 @@ def get_soap_client(base_url, username = None):
   # Use urllib2 here instead of just passing the url directly,
   # because the internal urllib call seems to break with SSL+chunked.
   import urllib2
- handle = urllib2.urlopen(base_url + "/rpc/soap/jirasoapservice-v2?wsdl")
- client = Client(handle)
+ client = Client(base_url + "/rpc/soap/jirasoapservice-v2?wsdl")
   auth = client.service.login(jirauser, jirapass)
   return client, auth