mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
No absolute imports.
This commit is contained in:
parent
52b8da5d13
commit
5075898935
4 changed files with 3 additions and 4 deletions
|
@ -44,7 +44,7 @@ Full list of builtin state modules
|
|||
network
|
||||
npm
|
||||
pecl
|
||||
pip
|
||||
pip_state
|
||||
pkg
|
||||
pkgng
|
||||
pkgrepo
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
salt.states.pip
|
||||
===============
|
||||
|
||||
.. automodule:: salt.states.pip
|
||||
.. automodule:: salt.states.pip_state
|
||||
:members:
|
|
@ -19,7 +19,6 @@ requisite to a pkg.installed state for the package which provides pip
|
|||
'''
|
||||
|
||||
# Import salt libs
|
||||
from __future__ import absolute_import
|
||||
import salt.utils
|
||||
from salt.exceptions import CommandExecutionError, CommandNotFoundError
|
||||
|
|
@ -18,7 +18,7 @@ ensure_in_syspath('../../')
|
|||
|
||||
# Import salt libs
|
||||
import integration
|
||||
from salt.states import pip
|
||||
from salt.states import pip_state as pip
|
||||
from salt.exceptions import CommandExecutionError
|
||||
|
||||
# Import 3rd-party libs
|
||||
|
|
Loading…
Add table
Reference in a new issue