Merge pull request #830 from cybertoast/feature/pip_module_py2.4
Feature/pip module py2.4
This commit is contained in:
commit
7a7973b2e1
1 changed files with 4 additions and 1 deletions
5
pip
5
pip
|
@ -175,7 +175,10 @@ def main():
|
||||||
(not installed and state == 'present'))
|
(not installed and state == 'present'))
|
||||||
|
|
||||||
if changed:
|
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)
|
cmd = '%s %s %s' % (PIP, command_map[state], full_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue