From 0b2160d9a0d9dc916175599280a4fc1629b153ae Mon Sep 17 00:00:00 2001 From: Michael McCune Date: Wed, 8 Oct 2014 13:00:51 -0400 Subject: [PATCH] Removing runtime dependency on python pbr --- saharaclient/version.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/saharaclient/version.py b/saharaclient/version.py index a1a76c5..8b02f86 100644 --- a/saharaclient/version.py +++ b/saharaclient/version.py @@ -13,6 +13,16 @@ # See the License for the specific language governing permissions and # limitations under the License. -from pbr import version -version_info = version.VersionInfo('python-saharaclient') +class VersionInfo(object): + release = 'REDHAT_SAHARACLIENT_RELEASE' + version = 'REDHAT_SAHARACLIENT_VERSION' + + def version_string(self): + return self.version + + def release_string(self): + return self.release + + +version_info = VersionInfo()