commit 9a73b94ceb3197db6c83f1aeca44576f82cdf6d2 Author: Isis Lovecruft isis@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