#9715: r9110 introduced Backwards-Incompatible change
----------------------------+-----------------------------------------------
 Reporter:  telenieko       |       Owner:  nobody    
   Status:  new             |   Milestone:            
Component:  Core framework  |     Version:  SVN       
 Keywords:                  |       Stage:  Unreviewed
Has_patch:  0               |  
----------------------------+-----------------------------------------------
 From api-stability: "code you develop against Django 1.0 will continue to
 work against 1.1 unchanged"

 Since r9110 the --verbosity parameter is now defined which means that any
 custom command defining this parameter will fail miserably:

 {{{
 #!python
 Traceback (most recent call last):
   File "./manage.py", line 17, in <module>
     execute_manager(settings)
   File "/home/marc/dev/python/django/django/core/management/__init__.py",
 line 340, in execute_manager
     utility.execute()
   File "/home/marc/dev/python/django/django/core/management/__init__.py",
 line 295, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/home/marc/dev/python/django/django/core/management/base.py", line
 192, in run_from_argv
     parser = self.create_parser(argv[0], argv[1])
   File "/home/marc/dev/python/django/django/core/management/base.py", line
 175, in create_parser
     option_list=self.option_list)
   File "/usr/lib/python2.5/optparse.py", line 1215, in __init__
     add_help=add_help_option)
   File "/usr/lib/python2.5/optparse.py", line 1257, in
 _populate_option_list
     self.add_options(option_list)
   File "/usr/lib/python2.5/optparse.py", line 1040, in add_options
     self.add_option(option)
   File "/usr/lib/python2.5/optparse.py", line 1021, in add_option
     self._check_conflict(option)
   File "/usr/lib/python2.5/optparse.py", line 996, in _check_conflict
     option)
 optparse.OptionConflictError: option --verbosity: conflicting option
 string(s): --verbosity
 }}}

 That happens because the command I tried to execute had a custom
 --verbosity option.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9715>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to