]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[devscripts/buildserver] Remove unreachable except block
authorChris Gavin <chris@chrisgavin.me>
Sat, 31 Dec 2016 12:17:52 +0000 (12:17 +0000)
committerSergey M <dstftw@gmail.com>
Sat, 31 Dec 2016 12:17:52 +0000 (19:17 +0700)
devscripts/buildserver.py

index fc99c3213dddf985cfcf4fe74584cc09eeaf3175..1344b4d87b554b690fa8d5f0fab5462b7397aaea 100644 (file)
@@ -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: