[Python-checkins] r58373 - sandbox/trunk/setuptools/setuptools/command/easy_install.py

phillip.eby python-checkins at python.org
Mon Oct 8 13:48:07 CEST 2007


Author: phillip.eby
Date: Mon Oct  8 13:48:07 2007
New Revision: 58373

Modified:
   sandbox/trunk/setuptools/setuptools/command/easy_install.py
Log:
Prevent --help-commands and other junk from showing under
Python 2.5 when running "easy_install" directly.


Modified: sandbox/trunk/setuptools/setuptools/command/easy_install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/easy_install.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/easy_install.py	Mon Oct  8 13:48:07 2007
@@ -1661,6 +1661,7 @@
             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 @@
 
 
 
-


More information about the Python-checkins mailing list