aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/bug.py5
-rw-r--r--libbe/comment.py12
2 files changed, 0 insertions, 17 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 71682d5..38af60c 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -47,11 +47,6 @@ if libbe.TESTING == True:
import doctest
-class DiskAccessRequired (Exception):
- def __init__(self, goal):
- msg = "Cannot %s without accessing the disk" % goal
- Exception.__init__(self, msg)
-
### Define and describe valid bug categories
# Use a tuple of (category, description) tuples since we don't have
# ordered dicts in Python yet http://www.python.org/dev/peps/pep-0372/
diff --git a/libbe/comment.py b/libbe/comment.py
index 081ba59..b974aa8 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -53,13 +53,6 @@ if libbe.TESTING == True:
import doctest
-class InvalidShortname(KeyError):
- def __init__(self, shortname, shortnames):
- msg = "Invalid shortname %s\n%s" % (shortname, shortnames)
- KeyError.__init__(self, msg)
- self.shortname = shortname
- self.shortnames = shortnames
-
class MissingReference(ValueError):
def __init__(self, comment):
msg = "Missing reference to %s" % (comment.in_reply_to)
@@ -67,11 +60,6 @@ class MissingReference(ValueError):
self.reference = comment.in_reply_to
self.comment = comment
-class DiskAccessRequired (Exception):
- def __init__(self, goal):
- msg = "Cannot %s without accessing the disk" % goal
- Exception.__init__(self, msg)
-
INVALID_UUID = "!!~~\n INVALID-UUID \n~~!!"
def load_comments(bug, load_full=False):