diff mercurial/hgweb/common.py @ 16687:e34106fa0dc3

cleanup: "raise SomeException()" -> "raise SomeException"
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 16:00:58 +0200
parents 3233b39d756f
children 59a168019255
line wrap: on
line diff
--- 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