Merge pull request #3958 from Xuanwo/typo-fix

Fix a typo in utils
This commit is contained in:
Cory Benfield
2017-04-08 14:18:43 +01:00
committed by GitHub
+1 -1
View File
@@ -497,7 +497,7 @@ def requote_uri(uri):
def address_in_network(ip, net):
"""This function allows you to check if on IP belongs to a network subnet
"""This function allows you to check if an IP belongs to a network subnet
Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24
returns False if ip = 192.168.1.1 and net = 192.168.100.0/24