mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
hgweb: in protocol adapter, avoid control reaching end of non-void function
This greatly confounded some Python 3 porting work, once it was managing to get this far. Differential Revision: https://phab.mercurial-scm.org/D962
This commit is contained in:
parent
bacb1366fc
commit
38c5b420ba
@ -15,6 +15,7 @@ from .common import (
|
||||
)
|
||||
|
||||
from .. import (
|
||||
error,
|
||||
util,
|
||||
wireproto,
|
||||
)
|
||||
@ -199,3 +200,4 @@ def call(repo, req, cmd):
|
||||
rsp = rsp.message
|
||||
req.respond(HTTP_OK, HGERRTYPE, body=rsp)
|
||||
return []
|
||||
raise error.ProgrammingError('hgweb.protocol internal failure', rsp)
|
||||
|
Loading…
Reference in New Issue
Block a user