aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/depend.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-06-26 09:55:49 -0400
committerW. Trevor King <wking@drexel.edu>2010-06-26 09:55:49 -0400
commit20a3cd53703b058e558bedade4c2eb8a1d3e1c8f (patch)
treed7580ec54a4f2ad12cfb20ffb45481fe42313c69 /libbe/command/depend.py
parent9a6a3b7e8a81126216eda582020a695f2a8cc694 (diff)
downloadbugseverywhere-20a3cd53703b058e558bedade4c2eb8a1d3e1c8f.tar.gz
UsageError -> UserError in a few libbe.command.* submods.
This catches them up with the removal of UsageError in commit bf3d434b244c57556bec979acbc658c30eb58221 Author: W. Trevor King <wking@drexel.edu> Date: Sat Dec 12 00:31:55 2009 -0500 Added libbe.command.base (with Command class) and moved list command to new format. I guess I don't make many mistakes entering those commands ;).
Diffstat (limited to 'libbe/command/depend.py')
-rw-r--r--libbe/command/depend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbe/command/depend.py b/libbe/command/depend.py
index e32d55e..92140eb 100644
--- a/libbe/command/depend.py
+++ b/libbe/command/depend.py
@@ -119,14 +119,14 @@ class Depend (libbe.command.Command):
def _run(self, **params):
if params['repair'] == True and params['bug-id'] != None:
- raise libbe.command.UsageError(
+ raise libbe.command.UserError(
'No arguments with --repair calls.')
if params['repair'] == False and params['bug-id'] == None:
- raise libbe.command.UsageError(
+ raise libbe.command.UserError(
'Must specify either --repair or a BUG-ID')
if params['tree-depth'] != None \
and params['blocking-bug-id'] != None:
- raise libbe.command.UsageError(
+ raise libbe.command.UserError(
'Only one bug id used in tree mode.')
bugdir = self._get_bugdir()
if params['repair'] == True: