5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 22:51:34 +08:00

SQOOP-2254: Failed to build release notes

(Qian Xu via Gwen Shapira)
This commit is contained in:
Gwen Shapira 2015-03-24 16:46:34 -07:00
parent fa8518998f
commit bbfa59a61c

View File

@ -83,7 +83,7 @@ def sanitize_log(in_log):
def get_jira_doc(issue): def get_jira_doc(issue):
""" Get the XML document from JIRA for a specified issue. """ """ Get the XML document from JIRA for a specified issue. """
xml = os.popen("curl -s 'https://issues.cloudera.org/si/jira.issueviews:" \ xml = os.popen("curl -s 'https://issues.apache.org/jira/si/jira.issueviews:" \
+ "issue-xml/%s/%s.xml?field=key&field=type&field=parent'" % (issue, issue)).read() + "issue-xml/%s/%s.xml?field=key&field=type&field=parent'" % (issue, issue)).read()
return ElementTree.fromstring(xml) return ElementTree.fromstring(xml)