diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-01 10:46:23 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-01 10:46:23 -0500 |
commit | 95f9395487126f97225f5e25f0c833ee6c02a644 (patch) | |
tree | c08a9fd3b717268d18ca795ea8404fb8d5c30307 /libbe | |
parent | 4d4283ecd654f1efb058cd7f7dba6be88b70ee92 (diff) | |
download | bugseverywhere-95f9395487126f97225f5e25f0c833ee6c02a644.tar.gz |
Return a meaningful Storage.version()
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/storage/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
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.""" |