#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 -------------------------------------+-------------------------------------
Comment (by bkonkle): You are absolutely right. I discovered the real origin of the issue - an older version of django-configurations was adding an option to the BaseCommand.option_list, which was causing it to use optparse for all management commands rather than argparse. None of the add_arguments() methods were being called at all. I updated django-configurations, and the problem is now solved. Sorry for the trouble! -- Ticket URL: <https://code.djangoproject.com/ticket/24518#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.bcfedfe33da71d027d39d62847a132dd%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.