mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
making pylint happy
This commit is contained in:
parent
3b710c9414
commit
136d2c4ef2
@ -1,3 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Module to provide redis functionality to Salt
|
||||
|
||||
@ -10,9 +11,6 @@ Module to provide redis functionality to Salt
|
||||
redis.password: None
|
||||
'''
|
||||
|
||||
# Import python libs
|
||||
import logging
|
||||
|
||||
# Import third party libs
|
||||
try:
|
||||
import redis
|
||||
@ -69,7 +67,7 @@ def config_get(pattern, host=None, port=None, db=None, password=None):
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' redis_exec.config_get \*
|
||||
salt '*' redis_exec.config_get '*'
|
||||
salt '*' redis_exec.config_get port
|
||||
'''
|
||||
server = _connect(host, port, db, password)
|
||||
|
Loading…
Reference in New Issue
Block a user