diff options
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 4 |
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] |