From: Chris Gavin Date: Sat, 31 Dec 2016 12:17:52 +0000 (+0000) Subject: [devscripts/buildserver] Remove unreachable except block X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=490da94edf39ecc0544e23833a7983c98a9feecf;p=youtube-dl [devscripts/buildserver] Remove unreachable except block --- diff --git a/devscripts/buildserver.py b/devscripts/buildserver.py index fc99c3213..1344b4d87 100644 --- a/devscripts/buildserver.py +++ b/devscripts/buildserver.py @@ -424,8 +424,6 @@ class BuildHTTPRequestHandler(compat_http_server.BaseHTTPRequestHandler): self.send_header('Content-Length', len(msg)) self.end_headers() self.wfile.write(msg) - except HTTPError as e: - self.send_response(e.code, str(e)) else: self.send_response(500, 'Unknown build method "%s"' % action) else: