浏览代码

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."""


正在加载...
取消
保存