From ad942885ceab72d421fc6b07aedf0c012ef90e41 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Thu, 23 Feb 2017 08:10:37 +0000 Subject: [PATCH] Removed unused exception object from release notes script --- scripts/releaseNotes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/releaseNotes.py b/scripts/releaseNotes.py index 324ae932..80fffbf2 100644 --- a/scripts/releaseNotes.py +++ b/scripts/releaseNotes.py @@ -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: