mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-18 11:05:06 +00:00
[devscripts/buildserver] Remove unreachable except block
This commit is contained in:
parent
424ed37ec4
commit
490da94edf
@ -424,8 +424,6 @@ class BuildHTTPRequestHandler(compat_http_server.BaseHTTPRequestHandler):
|
|||||||
self.send_header('Content-Length', len(msg))
|
self.send_header('Content-Length', len(msg))
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write(msg)
|
self.wfile.write(msg)
|
||||||
except HTTPError as e:
|
|
||||||
self.send_response(e.code, str(e))
|
|
||||||
else:
|
else:
|
||||||
self.send_response(500, 'Unknown build method "%s"' % action)
|
self.send_response(500, 'Unknown build method "%s"' % action)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user