# HG changeset patch # User Chris Eldredge # Date 1349187678 -3600 # Node ID 103ed018ac6623c789b1e1d884796928d37ea78c # Parent 68104e97f6d7ebd1a47277e66796bb5f1b9921ad Exception type changed in Mercurial 2.3. diff -r 68104e97f6d7 -r 103ed018ac66 __init__.py --- a/__init__.py Thu Sep 27 14:46:43 2012 +0100 +++ b/__init__.py Tue Oct 02 15:21:18 2012 +0100 @@ -71,7 +71,7 @@ try: fctx = webutil.filectx(web.repo, req) text = fctx.data() - except ErrorResponse, inst: + except LookupError, inst: try: return webcommands.manifest(web, req, tmpl) except ErrorResponse: