(self, conn, cmd_misc)
Find Entries
Find Entries
Find Entries
def find(self, conn, cmd_misc):
        """Find Entries"""

        try:
            answer = self.send_cmd(b'FIND', cmd_misc[0])
            sendmsg(conn, answer)
            if answer[:4] == b'FAIL':
                raise OSError(answer.decode())
        except (OSError, TypeError) as err:
            logging.error(err.__str__())
def find ( self , conn , cmd_misc ) : try : answer = self . send_cmd ( b'FIND' , cmd_misc [ 0 ] ) sendmsg ( conn , answer ) if answer [ : 4 ] == b'FAIL' : raise OSError ( answer . decode ( ) ) except ( OSError , TypeError ) as err : logging . error ( err . __str__ ( ) )