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:
parent
fa8518998f
commit
bbfa59a61c
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user