#24518: OptionParser verbosity not cast to int (Python3)
-------------------------------------+-------------------------------------
Reporter: jthi3rry | Owner: jthi3rry
Type: Bug | Status: closed
Component: Core (Management | Version: 1.8
commands) |
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):
* status: new => closed
* resolution: => needsinfo
Comment:
I can only reproduce the issue when calling `call_command` and passing a
string to `verbosity` which I would classify as a user programming error,
not a bug in Django. When using the command line directly, `argparse` is
converting to integer for us.
--
Ticket URL: <https://code.djangoproject.com/ticket/24518#comment:8>
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/066.5636c5e7cf46206928587b065f66fdb4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.