mirror of https://github.com/django/django.git
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:
parent
1418da7ee4
commit
3e267a695e
|
@ -207,7 +207,7 @@ class LaxOptionParser(OptionParser):
|
|||
# either way, add it to the args list so we can keep
|
||||
# dealing with options
|
||||
del rargs[0]
|
||||
raise error
|
||||
raise Exception
|
||||
except:
|
||||
largs.append(arg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue