1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #830 from cybertoast/feature/pip_module_py2.4

Feature/pip module py2.4
This commit is contained in:
Michael DeHaan 2012-08-09 17:24:27 -07:00
commit 8e12440db4

View file

@ -175,7 +175,10 @@ def main():
(not installed and state == 'present'))
if changed:
full_name = _get_full_name(name, version) if state == 'present' else name
if state == 'present':
full_name = _get_full_name(name, version)
else:
full_name = name
cmd = '%s %s %s' % (PIP, command_map[state], full_name)