From: W. Trevor King Date: Fri, 1 Jan 2010 15:46:23 +0000 (-0500) Subject: Return a meaningful Storage.version() X-Git-Tag: 1.0.0~59^2~50^2~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95f9395487126f97225f5e25f0c833ee6c02a644;p=be.git Return a meaningful Storage.version() --- diff --git a/libbe/storage/base.py b/libbe/storage/base.py index d85627f..aa32ea9 100644 --- a/libbe/storage/base.py +++ b/libbe/storage/base.py @@ -27,6 +27,7 @@ from libbe.error import NotSupported import libbe.storage from libbe.util.tree import Tree from libbe.util import InvalidObject +import libbe.version from libbe import TESTING if TESTING == True: @@ -163,7 +164,7 @@ class Storage (object): def version(self): """Return a version string for this backend.""" - return '0' + return libbe.version.version() def storage_version(self, revision=None): """Return the storage format for this backend."""