Created
August 18, 2009 23:59
-
-
Save jmhodges/170062 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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