﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
9455	Undefined local `error` in the LaxOptionParser._process_args method	egenix_viktor	nobody	"'''Django 1.0, release version'''

I encountered an undefined local variable in Django itself while porting an application to Django 1.0:

In `core/management/init.py` there is a `LaxOptionParser._process_args` method. It can raise an exception the following way:

{{{
raise error
}}}

It is under while / try / if-else. Line 210 in Django 1.0 release version. The `error` local is undefined here.

The else clause is reached due to a wrong command line parameter, probably. I'm going to track it down..."		closed	Core (Other)	1.0		fixed	LaxOptionParser _process_args undefined local error		Unreviewed	0	0	0	0	0	0
