summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2007-10-08 11:49:52 +0000
committerPJ Eby <distutils-sig@python.org>2007-10-08 11:49:52 +0000
commit0216b42b723923054f13bcbca213ff111a5d97f8 (patch)
tree05a1605d962d8093c19d025f190ac4eb3e3cf590 /setuptools/command/easy_install.py
parent72d9f8db5bc5a3e8f91fdd130c45f02388a4aa4d (diff)
downloadpython-setuptools-bitbucket-0216b42b723923054f13bcbca213ff111a5d97f8.tar.gz
Prevent ``--help-commands`` and other junk from showing under Python 2.5
when running ``easy_install --help``. (backport from trunk)
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index c1d2fe4f..0bebe698 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1661,6 +1661,7 @@ usage: %(script)s [options] requirement_or_url ...
distutils.core.gen_usage = old_gen_usage
class DistributionWithoutHelpCommands(Distribution):
+ common_usage = ""
def _show_help(self,*args,**kw):
with_ei_usage(lambda: Distribution._show_help(self,*args,**kw))
@@ -1678,4 +1679,3 @@ usage: %(script)s [options] requirement_or_url ...
-