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/command/__init__.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/command/__init__.py')
-rw-r--r-- | libbe/command/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbe/command/__init__.py b/libbe/command/__init__.py index 916b5ce..ab9d2db 100644 --- a/libbe/command/__init__.py +++ b/libbe/command/__init__.py @@ -19,6 +19,7 @@ import base UserError = base.UserError UnknownCommand = base.UnknownCommand +InvalidStorageVersion = base.InvalidStorageVersion get_command = base.get_command get_command_class = base.get_command_class commands = base.commands @@ -26,5 +27,6 @@ Option = base.Option Argument = base.Argument Command = base.Command -__all__ = [UserError, UnknownCommand, get_command, get_command_class, +__all__ = [UserError, UnknownCommand, InvalidStorageVersion, + get_command, get_command_class, commands, Option, Argument, Command] |