ListExtResource given in place of ListExtManager

This patch makes it use ListExtManager again.

Change-Id: I00ef7107cdf027c747806c4e5037c05b60312e21
Closes-bug: #1658963
This commit is contained in:
Radomir Dopieralski 2017-01-24 11:31:07 +01:00
parent e0d50479ad
commit 1dcd83012b
2 changed files with 10 additions and 1 deletions

View File

@ -18,6 +18,6 @@ from novaclient.v2 import list_extensions
ListExtResource = list_extensions.ListExtResource
ListExtManager = list_extensions.ListExtResource
ListExtManager = list_extensions.ListExtManager
contrib.warn()

View File

@ -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.