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

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:35 UTC 2014


commit 9a73b94ceb3197db6c83f1aeca44576f82cdf6d2
Author: Isis Lovecruft <isis at torproject.org>
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





More information about the tor-commits mailing list