def drain(self):
try:<EOL><INDENT>unlock = self.stick.acquire()<EOL>return self.stick.drain()<EOL><DEDENT>finally:<EOL><INDENT>unlock()<EOL><DEDENT>
Read until there is nothing more to be read. Only intended for test code/debugging!

@returns: True on success
@rtype: bool