浏览代码

Fix merge bug (Lock -> Rlock)

tags/v0.1^2
Ben Kurtovic 12 年前
父节点
当前提交
22b826fd0c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/managers.py

+ 1
- 1
earwigbot/managers.py 查看文件

@@ -55,7 +55,7 @@ class _ResourceManager(object):
self._resources = {}
self._resource_name = name # e.g. "commands" or "tasks"
self._resource_base = base # e.g. Command or Task
self._resource_access_lock = Lock()
self._resource_access_lock = RLock()

def __iter__(self):
with self.lock:


正在加载...
取消
保存