mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Import salt.log
at saltapi
package level. Missed one salt.log.logging
. Fixes #115.
This commit is contained in:
parent
5a30e80843
commit
7fc6ba4589
@ -5,6 +5,7 @@ Make api awesomeness
|
||||
import inspect
|
||||
|
||||
# Import Salt libs
|
||||
import salt.log # pylint: disable=W0611
|
||||
import salt.client
|
||||
import salt.runner
|
||||
import salt.wheel
|
||||
|
@ -2,15 +2,13 @@
|
||||
The main entry point for salt-api
|
||||
'''
|
||||
# Import python libs
|
||||
import logging
|
||||
import multiprocessing
|
||||
|
||||
# Import salt libs
|
||||
import salt.log
|
||||
|
||||
# Import salt-api libs
|
||||
import saltapi.loader
|
||||
|
||||
logger = salt.log.logging.getLogger(__name__)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class SaltAPIClient(object):
|
||||
'''
|
||||
|
@ -22,9 +22,6 @@ try:
|
||||
except ImportError as exc:
|
||||
cpy_error = exc
|
||||
|
||||
# Import Salt libs
|
||||
import salt.log
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
cpy_min = '3.2.2'
|
||||
|
||||
|
@ -169,7 +169,6 @@ import yaml
|
||||
# Import Salt libs
|
||||
import salt
|
||||
import salt.auth
|
||||
import salt.log
|
||||
|
||||
# Import salt-api libs
|
||||
import saltapi
|
||||
|
Loading…
Reference in New Issue
Block a user