Skip to content

Commit

Permalink
Update bin/jira.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rhauch committed Feb 27, 2013
1 parent c65eb24 commit 6c63c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/jira.py
Expand Up @@ -182,7 +182,7 @@ def get_contribution_email_text_for(self,email_address):

def __get_release_info_from_jira(self):
request_url = "%sjira/rest/api/2/project/%s" % (self.jira_url,self.project_key)
print "Request URL = %s" % (request_url)
# print "Request URL = %s" % (request_url)
# make the REST request ...
socket = urllib.urlopen(request_url)
json_response = socket.read()
Expand Down Expand Up @@ -242,12 +242,12 @@ def __get_contributions_from_jira(self):
version_id = self.version_info['id']
project_id = self.project_info['id']
request_url = "%sConfigureReport.jspa?versions=%s&ctype=R&ctype=A&ctype=C&ccompany=A&selectedProjectId=%s&reportKey=org.jboss.labs.jira.plugin.patch-contributions-report-plugin:involvedInReleaseReport&Next=Next" % (self.jira_url,version_id,project_id)
print "*** JIRA contributions request: %s" % request_url
# print "*** JIRA contributions request: %s" % request_url
# make the HTML request ...
socket = urllib.urlopen(request_url)
html_response = socket.read()
socket.close()
print html_response
# print html_response
# Parse the HTML to extract the contribution information ...
contribution_exp = re.compile('\<th\scolspan="2">(.*?)</th>')
href_exp = re.compile('href=\"(.*?)"')
Expand Down

0 comments on commit 6c63c87

Please sign in to comment.