def createLock(self):
        if thread:
            self.lock = threading.RLock()
        else:
            self.lock = None
wrapper for calling git methods
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/Handler.createLock--crossover with--dataset/ETHPy150Open everware/everware/everware/spawner.py/GitMixin._git