HomePhabricator

hgweb: minimize scope of a try-block in staticfile()

Authored by martinvonz.

Description

hgweb: minimize scope of a try-block in staticfile()

I think the exceptions are only relevant for the os.stat() and
open() calls, and maybe to the fh.read() call.

Differential Revision: https://phab.mercurial-scm.org/D8936