瀏覽代碼

Remove unnecessary variable assign.

tags/v0.2
Ben Kurtovic 10 年之前
父節點
當前提交
2147207388
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/wiki/copyvios/workers.py

+ 1
- 1
earwigbot/wiki/copyvios/workers.py 查看文件

@@ -296,7 +296,7 @@ class CopyvioWorkspace(object):
self._num_workers = num_workers
for i in xrange(num_workers):
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):
"""Return the confidence of a violation as a float between 0 and 1."""


Loading…
取消
儲存