From 4075d887e95fbd173565e8c4df373229e3fa54d6 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 26 Jan 2015 17:55:12 -0600 Subject: [PATCH] Fix return. --- earwigbot/wiki/copyvios/exclusions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/exclusions.py b/earwigbot/wiki/copyvios/exclusions.py index bfa0f62..5f33198 100644 --- a/earwigbot/wiki/copyvios/exclusions.py +++ b/earwigbot/wiki/copyvios/exclusions.py @@ -96,7 +96,7 @@ class ExclusionsDB(object): line = re.sub(r"(#|==).*$", "", line).strip() if line: urls.add("re:" + line) - return + return urls regexes = [ r"url\s*=\s*(?:\)?(?:https?:)?(?://)?(.*?)(?:\.*?)?\s*$",