]> git.99rst.org Git - eTLDplusOne.git/commitdiff
nits master
authorGeorgios Kontaxis <redacted>
Thu, 25 Jun 2026 16:13:58 +0000 (16:13 +0000)
committerGeorgios Kontaxis <redacted>
Thu, 25 Jun 2026 16:13:58 +0000 (16:13 +0000)
makedb.py

index 067cc5b2ec9a780ef170cf2c2838bf43b64f7fdb..47d27c7ad535e2eb76042acae57454701ccf5923 100644 (file)
--- a/makedb.py
+++ b/makedb.py
@@ -17,7 +17,7 @@ dirname = os.path.dirname(sys.argv[0])
 # Populate eTLDs records array
 eTLDs = []
 
-f = file(os.path.join(dirname, "public_suffix_list.dat"), "r")
+f = open(os.path.join(dirname, "public_suffix_list.dat"), "r")
 
 # The list is a set of rules, with one rule per line.
 for line in f:
git clone https://git.99rst.org/PROJECT