From c722160a9c6f05f34b0f024c3b0a9808e78abcc7 Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Sun, 17 Feb 2013 13:55:46 -0700 Subject: [PATCH] Woops, left debug logic in last commit. --- updateHostsFile.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/updateHostsFile.py b/updateHostsFile.py index 5b3a80db5..7e8226b25 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -79,14 +79,12 @@ def gatherCustomExclusions(): moreEntries = False def excludeDomain(domain): - print 'in exclude domain' exclusionRegexs.append(re.compile(EXCLUSION_PATTERN + domain)) def matchesExclusions(strippedRule): strippedDomain = strippedRule.split()[1] for exclusionRegex in exclusionRegexs: if exclusionRegex.search(strippedDomain): - print 'Domain ' + strippedDomain + ' matched exclusions' return True return False # End Exclusion Logic