diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-24 18:06:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-24 18:06:04 +0000 |
commit | 16b5bd09e93bc2dc0b6e4955e8508c0299efd2e0 (patch) | |
tree | 6689e5c2afd52373a27674b23b49fb2220a05398 | |
parent | 9940e3fe0e47ff5f2f6d05c9564d17fc19ca0f5c (diff) | |
parent | 1dcd83012be91a40bab1081d91261a9643b17e63 (diff) | |
download | python-novaclient-16b5bd09e93bc2dc0b6e4955e8508c0299efd2e0.tar.gz |
Merge "ListExtResource given in place of ListExtManager"
-rw-r--r-- | novaclient/v2/contrib/list_extensions.py | 2 | ||||
-rw-r--r-- | releasenotes/notes/fixed-ListExtResource-given-in-place-of-ListExtManager-a759a27079d16a44.yaml | 9 |
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. |