diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-27 16:30:54 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-27 16:30:54 -0500 |
commit | dff704764d77bffbf6cc94c5ba4bb03309da45f8 (patch) | |
tree | 3d0287d30718224903e3737545cbc970f3bdc898 /libbe/version.py | |
parent | 214c4317bb90684dcfdab4d2402daa66fbad2e77 (diff) | |
download | bugseverywhere-dff704764d77bffbf6cc94c5ba4bb03309da45f8.tar.gz |
Added storage.Storage.storage_version() and command.InvalidStorageVersion.
Now commands automatically check for storage version compatibility.
Diffstat (limited to 'libbe/version.py')
-rw-r--r-- | libbe/version.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/version.py b/libbe/version.py index 1214b3e..ddff5a5 100644 --- a/libbe/version.py +++ b/libbe/version.py @@ -26,7 +26,7 @@ over the version strings" workflows. import copy import libbe._version as _version -import libbe.storage.util.upgrade as upgrade +import libbe.storage # Manually set a version string (optional, defaults to bzr revision id) #_VERSION = "1.2.3" @@ -43,7 +43,7 @@ def version(verbose=False): string = _version.version_info["revision_id"] if verbose == True: info = copy.copy(_version.version_info) - info['storage'] = upgrade.BUGDIR_DISK_VERSION + info['storage'] = libbe.storage.STORAGE_VERSION string += ("\n" "revision: %(revno)d\n" "nick: %(branch_nick)s\n" |