[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] PEP8; remove unnecessary `pass` statements in Exception classes.



commit 9a73b94ceb3197db6c83f1aeca44576f82cdf6d2
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sat Jan 11 16:34:47 2014 +0000

    PEP8; remove unnecessary `pass` statements in Exception classes.
---
 lib/bridgedb/Dist.py |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py
index 6728035..47348a1 100644
--- a/lib/bridgedb/Dist.py
+++ b/lib/bridgedb/Dist.py
@@ -301,15 +301,12 @@ class BadEmail(Exception):
 class UnsupportedDomain(BadEmail):
     """Exception raised when we get an email address from a domain we
        don't know."""
-    pass
 
 class TooSoonEmail(BadEmail):
     """Raised when we got a request from this address too recently."""
-    pass
 
 class IgnoreEmail(BadEmail):
     """Raised when we get requests from this address after rate warning."""
-    pass
 
 def extractAddrSpec(addr):
     """Given an email From line, try to extract and parse the addrspec



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits