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
1 changed files with 2 additions and 2 deletions

View File

@ -25,13 +25,13 @@ issues = {}
def getIssueTitle( issueNumber ):
try:
s = urllib2.urlopen("https://api.github.com/repos/philsquared/catch/issues/" + issueNumber ).read()
except e:
except:
return "#HTTP Error#"
try:
j = json.loads( s )
return j["title"]
except e:
except:
return "#JSON Error#"
for line in lines: