Skip to content

Instantly share code, notes, and snippets.

@jmhodges
Created August 18, 2009 23:59
Show Gist options
  • Save jmhodges/170062 to your computer and use it in GitHub Desktop.
Save jmhodges/170062 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment