103ed018ac66

Exception type changed in Mercurial 2.3.
[view raw] [browse files]
author Chris Eldredge <chris.eldredge@gmail.com>
date Tue, 02 Oct 2012 15:21:18 +0100
parents 68104e97f6d7
children c90dd6006009
branches/tags (none)
files __init__.py

Changes

--- 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: