changeset 7921:f62482848d1b

hgweb: fix undefined name RepoError
author Brodie Rao <me+hg@dackz.net>
date Fri, 27 Mar 2009 11:17:46 -0400
parents bc027d72c289
children 06bf76009249 47b0a881638f
files mercurial/hgweb/server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/server.py	Mon Mar 23 13:11:11 2009 +0100
+++ b/mercurial/hgweb/server.py	Fri Mar 27 11:17:46 2009 -0400
@@ -275,7 +275,7 @@
 
         def __init__(self, *args, **kwargs):
             if self.address_family is None:
-                raise RepoError(_('IPv6 not available on this system'))
+                raise error.RepoError(_('IPv6 not available on this system'))
             super(IPv6HTTPServer, self).__init__(*args, **kwargs)
 
     if ssl_cert: