aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Amicel <ronan.amicel@gmail.com>2012-10-26 11:49:48 +0200
committerRonan Amicel <ronan.amicel@gmail.com>2012-10-26 11:49:48 +0200
commit62900b6dfe77ca668c5bcd177cbc11a81fadbf93 (patch)
tree503569a3cb73f11a6f68a4e6537d5b0e4ab90ca4
parentPrepare 0.8.0 release (diff)
downloadfabtools-62900b6dfe77ca668c5bcd177cbc11a81fadbf93.tar.xz
Really fix pip version parsing issue
-rw-r--r--fabtools/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fabtools/python.py b/fabtools/python.py
index 1072ff5..165c757 100644
--- a/fabtools/python.py
+++ b/fabtools/python.py
@@ -27,7 +27,7 @@ def is_pip_installed(version=None):
.. _pip: http://www.pip-installer.org/
"""
with settings(hide('running', 'warnings', 'stderr', 'stdout'), warn_only=True):
- res = run('pip --version', combine_stderr=True)
+ res = run('pip --version 2>/dev/null')
if res.failed:
return False
if version is None: