'Acquire the lock.'

def acquire(self, timeout=None, *args, **kwargs):

    if (timeout is None):
        timeout = self.acquire_timeout
    super(TimeoutPIDLockFile, self).acquire(timeout, *args, **kwargs)
