Remove unused toJSON method
This commit is contained in:
parent
b09f06665d
commit
8583bd8653
|
@ -40,8 +40,6 @@ class UrlIp:
|
||||||
self.host = host
|
self.host = host
|
||||||
self.v4 = v4
|
self.v4 = v4
|
||||||
self.v6 = v6
|
self.v6 = v6
|
||||||
def toJSON(self):
|
|
||||||
return json.dumps(self, default=lambda o: o.__dict__,sort_keys=True)
|
|
||||||
|
|
||||||
def get_host_records(host):
|
def get_host_records(host):
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue