Fix syntax to work on Python2.4

The `val if something else something-else` syntax does not work prior to 2.5
This commit is contained in:
Sundar Raman 2012-08-09 17:54:29 -04:00
parent 310c4b5eff
commit a221c9ed65

6
pip
View file

@ -25,7 +25,11 @@ ENV = None
def _get_full_name(name, version=None):
return name if version is None else name + '==' + version
if version is None:
resp = name
else:
resp = name + '==' + version
return resp
def _find_pip():