What steps will reproduce the problem?
1. Install a recent Django 1.1 revision
2. Install a r141+ of command_extensions
3. Run ./manage.py runscript --help
What is the expected output?
You would expect the options to be listed
What do you see instead?
"""
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/Users/phaedo/django_src/django/core/management/__init__.py", line 340, in
execute_manager
utility.execute()
File "/Users/phaedo/django_src/django/core/management/__init__.py", line 295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/phaedo/django_src/django/core/management/base.py", line 192, in
run_from_argv
parser = self.create_parser(argv[0], argv[1])
File "/Users/phaedo/django_src/django/core/management/base.py", line 175, in create_parser
option_list=self.option_list)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
1208, in
__init__
add_help=add_help_option)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
1250, in
_populate_option_list
self.add_options(option_list)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
1033, in
add_options
self.add_option(option)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
1014, in
add_option
self._check_conflict(option)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/optparse.py", line
989, in
_check_conflict
option)
optparse.OptionConflictError: option --verbosity: conflicting option string(s):
--verbosity
"""
Here's a diff to remove this conflicting option
Original issue reported on code.google.com by clintec...@gmail.com on 20 Oct 2008 at 9:32
Original issue reported on code.google.com by
clintec...@gmail.com
on 20 Oct 2008 at 9:32Attachments: