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/ui/command_line.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/ui/command_line.py')
-rwxr-xr-x | libbe/ui/command_line.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbe/ui/command_line.py b/libbe/ui/command_line.py index 6eead67..3812789 100755 --- a/libbe/ui/command_line.py +++ b/libbe/ui/command_line.py @@ -284,6 +284,10 @@ def main(): command.cleanup() print 'ERROR:\n', e return 1 + except libbe.storage.ConnectionError, e: + command.cleanup() + print 'Connection Error:\n', e + return 1 command.cleanup() return 0 |