* Fix tests that fail

Solves #5

* FIx syntax errors
This commit is contained in:
Tom Hendrikx
2016-10-18 05:23:55 +02:00
committed by Stuart D. Gathman
parent ea9ca0c12a
commit e5c03665e9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ internal_tlds = ["corp", "personal"]
# True if internal, False otherwise
def is_internal(hostname):
components = hostname.split(".")
return components.pop() in internal_tlds:
return components.pop() in internal_tlds
# Determine if internal and external hosts are mixed based on a list
# of hostnames