whois/parser.py
changeset 147 7182f88ede83
parent 146 0b10b59aa7fd
child 148 c77e24f4685a
--- a/whois/parser.py	Sat Dec 02 23:34:58 2017 +0100
+++ b/whois/parser.py	Sun Dec 03 00:00:45 2017 +0100
@@ -1315,7 +1315,7 @@
     }
 
     def __init__(self, domain, text):
-        if 'NOT FOUND' in text:
+        if 'no matching objects' in text:
             raise PywhoisError(text)
         else:
             # Merge base class regex with specifics