summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dan.prince@rackspace.com>2011-03-21 14:00:39 -0400
committerDan Prince <dan.prince@rackspace.com>2011-03-21 14:00:39 -0400
commitff2d6dc656c03b8aeab5e50c5d39ca9dcde9b9b1 (patch)
tree116dbad640a250e97b798a75e32d9c1588a350d7
parentfbd94f236adaa906fcc9c90de94e491e3d75653b (diff)
downloadnova-ff2d6dc656c03b8aeab5e50c5d39ca9dcde9b9b1.tar.gz
nova-ff2d6dc656c03b8aeab5e50c5d39ca9dcde9b9b1.tar.xz
nova-ff2d6dc656c03b8aeab5e50c5d39ca9dcde9b9b1.zip
Updated comment per the extension naming convention we actually use.
-rw-r--r--nova/api/openstack/extensions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/api/openstack/extensions.py b/nova/api/openstack/extensions.py
index f881dbde7..9d98d849a 100644
--- a/nova/api/openstack/extensions.py
+++ b/nova/api/openstack/extensions.py
@@ -303,9 +303,9 @@ class ExtensionManager(object):
def _load_extensions(self):
"""
Load extensions from the configured path. The extension name is
- constructed from the camel cased module_name + 'Extension'. If your
- extension module was named widgets.py the extension class within that
- module should be 'WidgetsExtension'.
+ constructed from the module_name. If your extension module was named
+ widgets.py the extension class within that module should be
+ 'Widgets'.
See nova/tests/api/openstack/extensions/foxinsocks.py for an example
extension implementation.