mercurial/hgweb/hgwebdir_mod.py
changeset 26587 56b2bcea2529
parent 26421 4b0fc75f9403
child 27007 c8cbef073645
--- a/mercurial/hgweb/hgwebdir_mod.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Oct 08 12:55:45 2015 -0700
@@ -118,7 +118,7 @@
         if not isinstance(self.conf, (dict, list, tuple)):
             map = {'paths': 'hgweb-paths'}
             if not os.path.exists(self.conf):
-                raise util.Abort(_('config file %s not found!') % self.conf)
+                raise error.Abort(_('config file %s not found!') % self.conf)
             u.readconfig(self.conf, remap=map, trust=True)
             paths = []
             for name, ignored in u.configitems('hgweb-paths'):