version from pbr is a method, not an attribute

We were returning the method object, as we were not calling it.

Change-Id: Ia6592f86ba32883e5d6cf2a2a30bddeadc7bbbac
This commit is contained in:
Alvaro Lopez Garcia 2015-11-27 10:41:28 +01:00
parent 735e7d06af
commit 113a5e5517
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@
import pbr.version
version_info = pbr.version.VersionInfo('ooi')
version_string = version_info.version_string
version_string = version_info.version_string()