#NEWLINE# def action_redis_server_info( config ) : #NEWLINE# #INDENT# '\n\tDump all redis information\n\t' #NEWLINE# log . warning ( '  - Trying to connect with redis server...' ) #NEWLINE# con = redis . StrictRedis ( host = config . target , port = y . port , db = config . db ) #NEWLINE# log . error ( ( "Config for server '%s':" % config . target ) ) #NEWLINE# for ( x , y ) in six . iteritems ( con . config_get ( ) ) : #NEWLINE# #INDENT# log . error ( ( '  - %s: %s' % ( x , y ) ) )