Browse Source

Remove unnecessary variable assign.

tags/v0.2
Ben Kurtovic 10 years ago
parent
commit
2147207388
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/copyvios/workers.py

+ 1
- 1
earwigbot/wiki/copyvios/workers.py View File

@@ -296,7 +296,7 @@ class CopyvioWorkspace(object):
self._num_workers = num_workers self._num_workers = num_workers
for i in xrange(num_workers): for i in xrange(num_workers):
name = "local-{0:04}.{1}".format(id(self) % 10000, i) name = "local-{0:04}.{1}".format(id(self) % 10000, i)
worker = _CopyvioWorker(name, self._queues, until)
_CopyvioWorker(name, self._queues, until)


def _calculate_confidence(self, delta): def _calculate_confidence(self, delta):
"""Return the confidence of a violation as a float between 0 and 1.""" """Return the confidence of a violation as a float between 0 and 1."""


Loading…
Cancel
Save