mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Merged revisions 72721 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72721 | tarek.ziade | 2009-05-17 12:44:12 +0200 (Sun, 17 May 2009) | 1 line removed sys.platform == 'mac' support in distutils.dist.parse_command_line and improved test coverage ........
This commit is contained in:
parent
38e2d8e263
commit
d2dd51dae9
2 changed files with 38 additions and 25 deletions
|
@ -408,11 +408,6 @@ Common commands: (see '--help-commands' for more)
|
|||
# that allows the user to interactively specify the "command line".
|
||||
#
|
||||
toplevel_options = self._get_toplevel_options()
|
||||
if sys.platform == 'mac':
|
||||
import EasyDialogs
|
||||
cmdlist = self.get_command_list()
|
||||
self.script_args = EasyDialogs.GetArgv(
|
||||
toplevel_options + self.display_options, cmdlist)
|
||||
|
||||
# We have to parse the command line a bit at a time -- global
|
||||
# options, then the first command, then its options, and so on --
|
||||
|
@ -432,7 +427,6 @@ Common commands: (see '--help-commands' for more)
|
|||
# for display options we return immediately
|
||||
if self.handle_display_options(option_order):
|
||||
return
|
||||
|
||||
while args:
|
||||
args = self._parse_command_opts(parser, args)
|
||||
if args is None: # user asked for help (and got it)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue