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
|
# 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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue