def _acquireLock():
    global _lock
    if (not _lock) and thread:
        _lock = threading.RLock()
    if _lock:
        _lock.acquire()
Performs the query and returns a single object matching the given
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/_acquireLock--crossover with--dataset/ETHPy150Open robgolding63/tasklib/tasklib/task.py/TaskQuerySet.get