summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-03-28 15:34:20 +0200
committerSoren Hansen <soren@linux2go.dk>2011-03-28 15:34:20 +0200
commit9786a19ec0bc5176cc01b56d473a977b85800977 (patch)
tree1faf339c359ed0d42a9e5683e52f30dc0506cff1 /nova/api
parentd25968ab494f65ed90981e440169e31a7488befe (diff)
Spell "warn" correctly.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/extensions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/api/openstack/extensions.py b/nova/api/openstack/extensions.py
index 4a7236863..259d24a7d 100644
--- a/nova/api/openstack/extensions.py
+++ b/nova/api/openstack/extensions.py
@@ -323,10 +323,10 @@ class ExtensionManager(object):
try:
new_ext_class = getattr(mod, ext_name, None)
if not new_ext_class:
- LOG.warning(_('Did not find expected name '
- '"%(ext_name)" in %(file)s'),
- { 'ext_name': ext_name,
- 'file': ext_path })
+ LOG.warn(_('Did not find expected name '
+ '"%(ext_name)" in %(file)s'),
+ { 'ext_name': ext_name,
+ 'file': ext_path })
continue
new_ext = new_ext_class()
self._check_extension(new_ext)