diff mercurial/keepalive.py @ 16687:e34106fa0dc3

cleanup: "raise SomeException()" -> "raise SomeException"
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 16:00:58 +0200
parents 67964cda8701
children cfb6682961b8
line wrap: on
line diff
--- a/mercurial/keepalive.py	Sat May 12 16:00:57 2012 +0200
+++ b/mercurial/keepalive.py	Sat May 12 16:00:58 2012 +0200
@@ -534,7 +534,7 @@
         if self.auto_open:
             self.connect()
         else:
-            raise httplib.NotConnected()
+            raise httplib.NotConnected
 
     # send the data to the server. if we get a broken pipe, then close
     # the socket. we want to reconnect when somebody tries to send again.