#24769: Cast optparse verbosity argument to an integer for better backwards
compatibility
-------------------------------------+-------------------------------------
Reporter: blueyed | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Core (Management | Version: 1.8
commands) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"a0047c6242fd48068eb444e0a58f7a5d2bc1bcd3" a0047c62]:
{{{
#!CommitTicketReference repository=""
revision="a0047c6242fd48068eb444e0a58f7a5d2bc1bcd3"
Fixed #24769 -- Cast optparse verbosity argument to an integer for better
backwards compatibility.
Using `BaseCommand.options_list` makes Django use the legacy optparse
parser, which does not set the verbosity attribute correctly. Now the
verbosity argument is always cast to int. Regression in 8568638 (#19973).
Initial report and patch from blueyed.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24769#comment:9>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.ee4588007825d0a66c2c17d9c5616f10%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.