##// END OF EJS Templates
hgweb: in protocol adapter, avoid control reaching end of non-void function...
Augie Fackler -
r34510:e21f274c default
parent child Browse files
Show More
@@ -15,6 +15,7 b' from .common import ('
15 )
15 )
16
16
17 from .. import (
17 from .. import (
18 error,
18 util,
19 util,
19 wireproto,
20 wireproto,
20 )
21 )
@@ -199,3 +200,4 b' def call(repo, req, cmd):'
199 rsp = rsp.message
200 rsp = rsp.message
200 req.respond(HTTP_OK, HGERRTYPE, body=rsp)
201 req.respond(HTTP_OK, HGERRTYPE, body=rsp)
201 return []
202 return []
203 raise error.ProgrammingError('hgweb.protocol internal failure', rsp)
General Comments 0
You need to be logged in to leave comments. Login now