Author: mtredinnick
Date: 2008-11-16 03:27:16 -0600 (Sun, 16 Nov 2008)
New Revision: 9470

Modified:
   django/trunk/django/core/management/__init__.py
Log:
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).


Modified: django/trunk/django/core/management/__init__.py
===================================================================
--- django/trunk/django/core/management/__init__.py     2008-11-16 08:57:10 UTC 
(rev 9469)
+++ django/trunk/django/core/management/__init__.py     2008-11-16 09:27:16 UTC 
(rev 9470)
@@ -207,7 +207,7 @@
                     # 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)
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to