Browse Source

Fix merge bug (Lock -> Rlock)

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
22b826fd0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/managers.py

+ 1
- 1
earwigbot/managers.py View File

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


def __iter__(self): def __iter__(self):
with self.lock: with self.lock:


||||||
x
 
000:0
Loading…
Cancel
Save