summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-24 18:06:04 +0000
committerGerrit Code Review <review@openstack.org>2017-01-24 18:06:04 +0000
commit16b5bd09e93bc2dc0b6e4955e8508c0299efd2e0 (patch)
tree6689e5c2afd52373a27674b23b49fb2220a05398
parent9940e3fe0e47ff5f2f6d05c9564d17fc19ca0f5c (diff)
parent1dcd83012be91a40bab1081d91261a9643b17e63 (diff)
downloadpython-novaclient-16b5bd09e93bc2dc0b6e4955e8508c0299efd2e0.tar.gz
Merge "ListExtResource given in place of ListExtManager"
-rw-r--r--novaclient/v2/contrib/list_extensions.py2
-rw-r--r--releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml9
2 files changed, 10 insertions, 1 deletions
diff --git a/novaclient/v2/contrib/list_extensions.py b/novaclient/v2/contrib/list_extensions.py
index 9177fa0c..07f4e3d7 100644
--- a/novaclient/v2/contrib/list_extensions.py
+++ b/novaclient/v2/contrib/list_extensions.py
@@ -18,6 +18,6 @@ from novaclient.v2 import list_extensions
ListExtResource = list_extensions.ListExtResource
-ListExtManager = list_extensions.ListExtResource
+ListExtManager = list_extensions.ListExtManager
contrib.warn()
diff --git a/releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml b/releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml
new file mode 100644
index 00000000..6491caec
--- /dev/null
+++ b/releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml
@@ -0,0 +1,9 @@
+---
+fixes:
+ - |
+ The contents of the list_extensions.py file was moved from contrib to v2
+ directory in release 7.0.0, and a stub importing the objects from the new
+ location was left in its place for backward compatibility, together with
+ a warning informing about the new location. However, the stub incorrectly
+ assigned the ListExtResource class to the ListExtManager name. This has
+ now been fixed, and ListExtManager is used instead.