Skip to content

Commit

Permalink
pulling all the debuging out
Browse files Browse the repository at this point in the history
  • Loading branch information
altf4arnold committed May 7, 2024
1 parent a5e27e1 commit ed52baa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tldtester/sorter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Link to IANA website : https://www.internic.net/domain/root.zone
"""
import json
import config
import urllib.request
from tldtester.models import TLD, RootZone
from django.core.exceptions import MultipleObjectsReturned
Expand Down Expand Up @@ -59,8 +58,6 @@ def zonesorter(zonefile):
value = value + record[i + 4] + " "
towrite = {"name": name, "type": recordtype, "value": value}
zonedbwriter(towrite)
if config.DEBUG is True:
print("Done Parsing the Zones")


def zonedbwriter(recs):
Expand Down Expand Up @@ -177,8 +174,6 @@ def grabber(data, rdaptlds):
results = {"tld": tld, "unicodeTld": unicodetld, "nsserveramount": int(len((nsservers))),
"organisation": organisation, "v4resolvers": Arecords, "v6resolvers": AAAArecords, "algo": algo,
"amountofkeys": amountofkeys, "link": link, "rdap": rdap}
if config.DEBUG is True:
print(results)
tlddbwriter(results)


Expand Down

0 comments on commit ed52baa

Please sign in to comment.