#NEWLINE# def query_dict_to_keywords( query_dict ) : #NEWLINE# #INDENT# if settings . DEBUG : #NEWLINE# #INDENT# [ logging . info ( ( 'Key: %s -- Value: %s' % ( k , v ) ) ) for ( k , v ) in query_dict . items ( ) if ( not k . startswith ( '_prof' ) ) ] #NEWLINE# return dict ( [ ( str ( k ) , v ) for ( k , v ) in query_dict . items ( ) if ( not k . startswith ( '_prof' ) ) ] ) #NEWLINE# #UNINDENT# return dict ( [ ( str ( k ) , v ) for ( k , v ) in query_dict . items ( ) ] )