From 490da94edf39ecc0544e23833a7983c98a9feecf Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Sat, 31 Dec 2016 12:17:52 +0000 Subject: [PATCH] [devscripts/buildserver] Remove unreachable except block --- devscripts/buildserver.py | 2 -- 1 file changed, 2 deletions(-) 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: