def acquire(self, waitflag=None):
if waitflag is None or waitflag:<EOL><INDENT>self.locked_status = True<EOL>return True<EOL><DEDENT>else:<EOL><INDENT>if not self.locked_status:<EOL><INDENT>self.locked_status = True<EOL>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>
Dummy implementation of acquire().

        For blocking calls, self.locked_status is automatically set to
        True and returned appropriately based on value of
        ``waitflag``.  If it is non-blocking, then the value is
        actually checked and not set if it is already acquired.  This
        is all done so that threading.Condition's assert statements
        aren't triggered and throw a little fit.