Browse Source

Fix use of pbr version release

The "release" member of pbr's VersionInfo
class was removed when [1] introduced
Semantic Versioning. Fix the sole usage of
this member and associated pylint error E1101:

["Instance of 'VersionInfo' has no 'release' member",
"return version.version_info.release"]

[1] I482e07cce9b65df452d5b9af4c73960df68a141e

Change-Id: Ia2a241b5ac2ddca29effe3e83df151bec6a76cba
changes/41/573041/1
Goutham Pacha Ravi 3 years ago
parent
commit
68e5f8f114
  1. 2
      manila/share/drivers/netapp/utils.py

2
manila/share/drivers/netapp/utils.py

@ -150,7 +150,7 @@ class OpenStackInfo(object):
@staticmethod
def _get_version_info_release():
return version.version_info.release
return version.version_info.release_string()
def _update_info_from_version_info(self):
try:

Loading…
Cancel
Save