Fixed #9455 -- Tiny cleanup to avoid an "undefined variable" warning. The net

effect is the same in any case (bailing out to the global exception catcher).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-11-16 09:27:16 +00:00
parent 1418da7ee4
commit 3e267a695e
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class LaxOptionParser(OptionParser):
# either way, add it to the args list so we can keep # either way, add it to the args list so we can keep
# dealing with options # dealing with options
del rargs[0] del rargs[0]
raise error raise Exception
except: except:
largs.append(arg) largs.append(arg)