added rf class issue #72
authorRichard Penman
Tue, 01 Sep 2015 11:52:23 +0800
changeset 57 1f14b45214eb
parent 56 ff15b368adaf
child 58 5c89d5dbac5b
added rf class issue #72
whois/parser.py
--- a/whois/parser.py	Thu Aug 27 16:38:30 2015 +0800
+++ b/whois/parser.py	Tue Sep 01 11:52:23 2015 +0800
@@ -130,7 +130,7 @@
 
 
     def __setitem__(self, name, value):
-        super(WhoisEntry, self).__setitem__(name, value)
+        WhoisEntry.__init__(self, domain, text)
         setattr(self, name, value)
 
 
@@ -798,6 +798,12 @@
             WhoisEntry.__init__(self, domain, text, self.regex)
 
 
+class WhoisRf(WhoisRu):
+    """Whois parser for .su domains
+    """
+    def __init__(self, domain, text):
+        WhoisRu.__init__(self, domain, text)
+
 
 class WhoisSu(WhoisRu):
     """Whois parser for .su domains