Removed whitespaces at end of added comments lines

This commit is contained in:
Orlando Richards 2018-06-15 22:25:49 +01:00
parent db11f2ff4b
commit f3653349ab

View file

@ -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: