Lint: E111 indentation is not a multiple of four

This commit is contained in:
2020-11-06 19:26:22 -05:00
parent 2d8f684fc8
commit fb4aafcea9
4 changed files with 7 additions and 7 deletions

View File

@ -42,10 +42,10 @@ def isValidIP(ipaddr):
for block in ip4_blocks:
# Check if number is digit, if not checked before calling this function
if not block.isdigit():
return False
return False
tmp = int(block)
if 0 > tmp > 255:
return False
return False
return True
return False