diff mercurial/hgweb/server.py @ 7921:f62482848d1b

hgweb: fix undefined name RepoError
author Brodie Rao <me+hg@dackz.net>
date Fri, 27 Mar 2009 11:17:46 -0400
parents 1d54e2f6c0b7
children 0796c8862bee
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: