mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removed whitespaces at end of added comments lines
This commit is contained in:
parent
db11f2ff4b
commit
f3653349ab
1 changed files with 4 additions and 4 deletions
|
@ -188,20 +188,20 @@ def _check_if_installed(prefix, state_pkg_name, version_spec, ignore_installed,
|
|||
force_reinstall, upgrade, user, cwd, bin_env, env_vars,
|
||||
pip_list=False, **kwargs):
|
||||
'''
|
||||
Takes a package name and version specification (if any) and checks it is
|
||||
Takes a package name and version specification (if any) and checks it is
|
||||
installed
|
||||
|
||||
Keyword arguments include:
|
||||
pip_list: optional dict of installed pip packages, and their versions,
|
||||
to search through to check if the package is installed. If not
|
||||
provided, one will be generated in this function by querying the
|
||||
to search through to check if the package is installed. If not
|
||||
provided, one will be generated in this function by querying the
|
||||
system.
|
||||
|
||||
Returns:
|
||||
result: None means the command failed to run
|
||||
result: True means the package is installed
|
||||
result: False means the package is not installed
|
||||
'''
|
||||
'''
|
||||
ret = {'result': False, 'comment': None}
|
||||
|
||||
# If we are not passed a pip list, get one:
|
||||
|
|
Loading…
Add table
Reference in a new issue