Removing a useless variable
Signed-off-by: Alarig Le Lay <alelay@scaleway.com>
This commit is contained in:
parent
709b521662
commit
de5a36c380
|
@ -23,8 +23,7 @@ def expiration(domain):
|
||||||
cache_control=True
|
cache_control=True
|
||||||
)
|
)
|
||||||
req = session.get('https://data.iana.org/rdap/dns.json')
|
req = session.get('https://data.iana.org/rdap/dns.json')
|
||||||
for list_of_list in req.json()['services']:
|
for k,v in req.json()['services']:
|
||||||
k,v = list_of_list
|
|
||||||
for x in k:
|
for x in k:
|
||||||
list2dict.append({'name':x, 'url':v[0]})
|
list2dict.append({'name':x, 'url':v[0]})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue