# HG changeset patch # User Richard Penman # Date 1484012021 -28800 # Node ID b4273400685e11334aecbee8ec589d7e51c718b7 # Parent d024d2328e5139768cb252260347b6d1f7e54738# Parent 3c7fbec1833772d8339d1057366aec914178ab82 Merged in rymdhund/pywhois (pull request #18) Add support for .se, .nu and .is diff -r 3c7fbec18337 -r b4273400685e whois/parser.py --- a/whois/parser.py Mon Jan 09 21:46:18 2017 +0100 +++ b/whois/parser.py Tue Jan 10 09:33:41 2017 +0800 @@ -1133,7 +1133,7 @@ } def __init__(self, domain, text): - if 'NOT FOUND' in text: + if 'Not found' in text: raise PywhoisError(text) else: WhoisEntry.__init__(self, domain, text, self.regex)