Removed unused exception object from release notes script

This commit is contained in:
Phil Nash 2017-02-23 08:10:37 +00:00
parent e058a37614
commit ad942885ce

View File

@ -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: