diff -r 67964cda8701 -r e34106fa0dc3 mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Sat May 12 16:00:57 2012 +0200 +++ b/mercurial/hgweb/common.py Sat May 12 16:00:58 2012 +0200 @@ -95,7 +95,7 @@ def __getattr__(self, attr): if attr in ('close', 'readline', 'readlines', '__iter__'): return getattr(self.f, attr) - raise AttributeError() + raise AttributeError def _statusmessage(code): from BaseHTTPServer import BaseHTTPRequestHandler