aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bugdir.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-14 21:29:48 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-14 21:29:48 -0500
commit0786fc6693e40cdfaca7876b504acb3e5e7dc4d2 (patch)
treeb32079f83d89ca35d4b564be59105591099ef349 /libbe/bugdir.py
parentaf5c37f7ddfb5e4b9428a1a8e7bd7dc882ec1690 (diff)
downloadbugseverywhere-0786fc6693e40cdfaca7876b504acb3e5e7dc4d2.tar.gz
Transitioned remove to Command-format
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r--libbe/bugdir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index aa4d990..5bb69e2 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -266,8 +266,8 @@ class BugDir (list, settings_object.SavedSettingsObject):
def bug_from_uuid(self, uuid):
if not self.has_bug(uuid):
- raise KeyError("No bug matches %s\n bug map: %s\n root: %s" \
- % (uuid, self._bug_map, self.root))
+ raise NoBugMatches('No bug matches %s\n bug map: %s\n repo: %s' \
+ % (uuid, self._bug_map, self.storage))
if self._bug_map[uuid] == None:
self._load_bug(uuid)
return self._bug_map[uuid]