Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 3e267a695e75469cbc2b759a085cf1ccb1181325 1 parent 1418da7
Malcolm Tredinnick authored November 16, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/management/__init__.py
2  django/core/management/__init__.py
@@ -207,7 +207,7 @@ def _process_args(self, largs, rargs, values):
207 207
                     # either way, add it to the args list so we can keep
208 208
                     # dealing with options
209 209
                     del rargs[0]
210  
-                    raise error
  210
+                    raise Exception
211 211
             except:
212 212
                 largs.append(arg)
213 213
 

0 notes on commit 3e267a6

Please sign in to comment.
Something went wrong with that request. Please try again.