summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ez_setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ez_setup.py b/ez_setup.py
index a781d1d2..1420c114 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -34,6 +34,9 @@ DEFAULT_VERSION = "2.2"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
def _python_cmd(*args):
+ """
+ Return True if the command succeeded.
+ """
args = (sys.executable,) + args
return subprocess.call(args) == 0