mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Removed unused exception object from release notes script
This commit is contained in:
parent
e058a37614
commit
ad942885ce
@ -25,13 +25,13 @@ issues = {}
|
|||||||
def getIssueTitle( issueNumber ):
|
def getIssueTitle( issueNumber ):
|
||||||
try:
|
try:
|
||||||
s = urllib2.urlopen("https://api.github.com/repos/philsquared/catch/issues/" + issueNumber ).read()
|
s = urllib2.urlopen("https://api.github.com/repos/philsquared/catch/issues/" + issueNumber ).read()
|
||||||
except e:
|
except:
|
||||||
return "#HTTP Error#"
|
return "#HTTP Error#"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
j = json.loads( s )
|
j = json.loads( s )
|
||||||
return j["title"]
|
return j["title"]
|
||||||
except e:
|
except:
|
||||||
return "#JSON Error#"
|
return "#JSON Error#"
|
||||||
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
|
Loading…
Reference in New Issue
Block a user