mercurial/hgweb/common.py
changeset 16687 e34106fa0dc3
parent 14058 3233b39d756f
child 17456 59a168019255
--- 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