Skip to content

Commit c9138e7

Browse files
committed
fmt
1 parent 163f1fa commit c9138e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipinfo/bogon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33

44
def is_bogon(ip_address):
5-
for network in BOGON:
5+
for network in BOGON_NETWORKS:
66
if IP(ip_address) in ip_network(network):
77
return True
88
return False
99

1010

11-
BOGON = [
11+
BOGON_NETWORKS = [
1212
"0.0.0.0/8",
1313
"10.0.0.0/8",
1414
"100.64.0.0/10",

0 commit comments

Comments
 (0)