#9455: Undefined local `error` in the LaxOptionParser._process_args method
-------------------------------------+--------------------------------------
Reporter: egenix_viktor | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: 1.0
Resolution: | Keywords: LaxOptionParser
_process_args undefined local error
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by mtredinnick):
You don't provide any way to repeat the problem -- the command line
implied by your debug information works correctl, so that's not it. Due to
the surrounding try...except, the existing code actually has the right
effect (it makes it into the except block, which catches everything), even
if only by accident. I'll change it to make code linting tools happy, but
it's not really a bug.
--
Ticket URL: <http://code.djangoproject.com/ticket/9455#comment:3>
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
-~----------~----~----~----~------~----~------~--~---