#NEWLINE# def _list_queues( ) : #NEWLINE# #INDENT# '\n    Return a list of sqlite databases in the queue_dir\n    ' #NEWLINE# queue_dir = __opts__ [ 'sqlite_queue_dir' ] #NEWLINE# files = os . path . join ( queue_dir , '*.db' ) #NEWLINE# paths = glob . glob ( queue_dir ) #NEWLINE# queues = [ os . path . splitext ( os . path . basename ( item ) ) [ 0 ] for item in paths ] #NEWLINE# return queues