Skip to content

Commit

Permalink
Merge pull request #7 from mirceaulinic/fix-sproxy-path
Browse files Browse the repository at this point in the history
Correct salt-sproxy import path and release 2020.3.1
  • Loading branch information
mirceaulinic authored Jul 3, 2020
2 parents 7162bec + d133575 commit 8a49e24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,6 @@ Example:
Using ISalt in conjunction with Salt Super Proxy (Master side)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 2020.3.0
.. note::
This option requires salt-sproxy to be installed in the same environment as
Expand Down Expand Up @@ -281,7 +279,7 @@ You can also get into the *sproxy* mode by default, by setting the value
``role: sproxy`` into the ISalt configuration file (see also the next
paragraph).
.. seealso::
.. important::
Check also the `salt-sproxy documentation
<https://salt-sproxy.readthedocs.io/en/latest/>`__ for more usage
Expand Down
2 changes: 1 addition & 1 deletion isalt/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def main():
if saltenv not in __opts__.get('file_roots', {}):
__opts__['file_roots'] = {saltenv: []}
file_roots = __opts__['file_roots'][saltenv]
sproxy_path = salt_sproxy.__path__._path[0]
sproxy_path = salt_sproxy.__path__[0]
if sproxy_path not in file_roots:
file_roots.append(sproxy_path)
__opts__['file_roots'][saltenv] = file_roots
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name='isalt',
version='2020.1.0',
version='2020.3.1',
namespace_packages=['isalt'],
packages=find_packages(),
author='Mircea Ulinic',
Expand Down

0 comments on commit 8a49e24

Please sign in to comment.