@@ -921,28 +921,28 @@ def default_redis_sentinel_factory(config):
921921 sentinel = Sentinel (
922922 sentinels ,
923923 0 ,
924- dict (
925- db = db ,
926- password = password ,
927- socket_timeout = socket_timeout ,
928- socket_connect_timeout = socket_connect_timeout ,
929- socket_keepalive = socket_keepalive ,
930- socket_keepalive_options = socket_keepalive_options ,
931- connection_pool = connection_pool ,
932- unix_socket_path = unix_socket_path ,
933- encoding = encoding ,
934- encoding_errors = encoding_errors ,
935- charset = charset ,
936- errors = errors ,
937- decode_responses = decode_responses ,
938- retry_on_timeout = retry_on_timeout ,
939- ssl = ssl ,
940- ssl_keyfile = ssl_keyfile ,
941- ssl_certfile = ssl_certfile ,
942- ssl_cert_reqs = ssl_cert_reqs ,
943- ssl_ca_certs = ssl_ca_certs ,
944- max_connections = max_connections
945- )
924+ {
925+ 'db' : db ,
926+ ' password' : password ,
927+ ' socket_timeout' : socket_timeout ,
928+ ' socket_connect_timeout' : socket_connect_timeout ,
929+ ' socket_keepalive' : socket_keepalive ,
930+ ' socket_keepalive_options' : socket_keepalive_options ,
931+ ' connection_pool' : connection_pool ,
932+ ' unix_socket_path' : unix_socket_path ,
933+ ' encoding' : encoding ,
934+ ' encoding_errors' : encoding_errors ,
935+ ' charset' : charset ,
936+ ' errors' : errors ,
937+ ' decode_responses' : decode_responses ,
938+ ' retry_on_timeout' : retry_on_timeout ,
939+ ' ssl' : ssl ,
940+ ' ssl_keyfile' : ssl_keyfile ,
941+ ' ssl_certfile' : ssl_certfile ,
942+ ' ssl_cert_reqs' : ssl_cert_reqs ,
943+ ' ssl_ca_certs' : ssl_ca_certs ,
944+ ' max_connections' : max_connections
945+ }
946946 )
947947
948948 redis = sentinel .master_for (master_service )
0 commit comments