#NEWLINE# def keys( self ) : #NEWLINE# #INDENT# "\n        list all the keys, very slow, don't use too often\n        " #NEWLINE# logger . warn ( 'listing all keys is slow and should be used sparsely' ) #NEWLINE# keys = self . get_keys ( ) #NEWLINE# fields = [ ] #NEWLINE# for key in keys : #NEWLINE# #INDENT# more_fields = self . redis . hkeys ( key ) #NEWLINE# fields += more_fields #NEWLINE# #UNINDENT# return fields