diff options
| author | Soren Hansen <soren@linux2go.dk> | 2011-03-28 15:34:20 +0200 |
|---|---|---|
| committer | Soren Hansen <soren@linux2go.dk> | 2011-03-28 15:34:20 +0200 |
| commit | 9786a19ec0bc5176cc01b56d473a977b85800977 (patch) | |
| tree | 1faf339c359ed0d42a9e5683e52f30dc0506cff1 /nova/api | |
| parent | d25968ab494f65ed90981e440169e31a7488befe (diff) | |
Spell "warn" correctly.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/extensions.py | 8 |
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) |
