diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-27 16:50:36 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-27 16:50:36 -0500 |
commit | cfebc238cbda9b6338ec57d5c215c4cbf0246f8b (patch) | |
tree | 30efcc0f354a175220814ea5d4e74dd2d71fa2fb /libbe/storage/__init__.py | |
parent | dff704764d77bffbf6cc94c5ba4bb03309da45f8 (diff) | |
download | bugseverywhere-cfebc238cbda9b6338ec57d5c215c4cbf0246f8b.tar.gz |
Moved InvalidStorageVersion from libbe.command to libbe.storage
Also added ConnectionError pretty-print to ui.command_line, storage
version checking to BugDir.duplicate_bugdir(), and optional revision
argument to Storage.storage_version().
Diffstat (limited to 'libbe/storage/__init__.py')
-rw-r--r-- | libbe/storage/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index 104b1e1..e99f799 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -3,6 +3,7 @@ import base ConnectionError = base.ConnectionError +InvalidStorageVersion = base.InvalidStorageVersion InvalidID = base.InvalidID InvalidRevision = base.InvalidRevision InvalidDirectory = base.InvalidDirectory @@ -30,7 +31,7 @@ def get_storage(location): s.repo = location return s -__all__ = [ConnectionError, InvalidID, InvalidRevision, - InvalidDirectory, NotWriteable, NotReadable, +__all__ = [ConnectionError, InvalidStorageVersion, InvalidID, + InvalidRevision, InvalidDirectory, NotWriteable, NotReadable, EmptyCommit, STORAGE_VERSIONS, STORAGE_VERSION, get_storage] |