5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-19 18:31:03 +08:00

SQOOP-2254: Failed to build release notes

(Qian Xu via Gwen Shapira)

(cherry picked from commit bbfa59a61c)
This commit is contained in:
Gwen Shapira 2015-03-24 16:46:34 -07:00
parent 847f3f13c1
commit 1c82633936

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)