Sfoglia il codice sorgente

Fix merge bug (Lock -> Rlock)

tags/v0.1^2
Ben Kurtovic 12 anni fa
parent
commit
22b826fd0c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      earwigbot/managers.py

+ 1
- 1
earwigbot/managers.py Vedi File

@@ -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:


Caricamento…
Annulla
Salva