Merged in rymdhund/pywhois (pull request #18)
authorRichard Penman <richardbp@gmail.com>
Tue, 10 Jan 2017 09:33:41 +0800
changeset 120 b4273400685e
parent 118 d024d2328e51 (diff)
parent 119 3c7fbec18337 (current diff)
child 121 ccd653a54263
Merged in rymdhund/pywhois (pull request #18) Add support for .se, .nu and .is
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)