diff --git a/pip b/pip index 2e75cbb69e6..162e3d08a17 100755 --- a/pip +++ b/pip @@ -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)