summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2010-12-29 18:49:45 -0600
committerTrey Morris <trey.morris@rackspace.com>2010-12-29 18:49:45 -0600
commit6f76367d2fefcec9b957352dd60e76c2cc3ba233 (patch)
tree876d1ecb6b2b8ce9e7b46f60a0ab4a59e8a78c8f
parent837724193ece16310ff588a84d23891a75ced2f2 (diff)
typo, trying to hurry.. look where that got me
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 6602f2534..232d1f26b 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -63,7 +63,7 @@ def checks_instance_lock(function):
instance_id = args[2]
locked = ComputeAPI().get_lock(context, instance_id)
admin = context.is_admin
- except Excetion as e:
+ except Exception as e:
logging.error(_("check_instance_lock: arguments: |%s| |%s|"), args,
kwargs)
raise e