hgweb: fix undefined name RepoError
authorBrodie Rao <me+hg@dackz.net>
Fri, 27 Mar 2009 11:17:46 -0400
changeset 7921 f62482848d1b
parent 7869 bc027d72c289
child 7922 06bf76009249
child 7929 47b0a881638f
hgweb: fix undefined name RepoError
mercurial/hgweb/server.py
--- 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: