From c7b3b7bc7ffd3ca62a0ac7df02fd5d916235173b Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 31 Aug 2014 16:38:48 -0500 Subject: [PATCH] CopyvioSource.workspace should be public. --- earwigbot/wiki/copyvios/workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/workers.py b/earwigbot/wiki/copyvios/workers.py index 5f75594..6085793 100644 --- a/earwigbot/wiki/copyvios/workers.py +++ b/earwigbot/wiki/copyvios/workers.py @@ -88,6 +88,7 @@ class _CopyvioSource(object): """Represents a single suspected violation source (a URL).""" def __init__(self, workspace, url, key, headers=None, timeout=5): + self.workspace = workspace self.url = url self.key = key self.headers = headers @@ -95,7 +96,6 @@ class _CopyvioSource(object): self.confidence = 0.0 self.chains = (EMPTY, EMPTY_INTERSECTION) - self._workspace = workspace self._event = Event() def active(self):