diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 1baf624872ea59fae91186409ab58556b81b20e1..4ad3eb952cad36a928fdbeafe826141ce7ae8a7e 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundupdb.py,v 1.66 2002-09-10 03:01:18 richard Exp $
+# $Id: roundupdb.py,v 1.68 2002-09-11 02:20:35 richard Exp $
__doc__ = """
Extending hyperdb with types specific to issue-tracking.
pass
class DetectorError(RuntimeError):
+ ''' Raised by detectors that want to indicate that something's amiss
+ '''
pass
-# XXX deviation from spec - was called ItemClass
+# deviation from spec - was called IssueClass
class IssueClass:
""" This class is intended to be mixed-in with a hyperdb backend
implementation. The backend should provide a mechanism that
# send the message
self.send_message(nodeid, msgid, note, sendto)
- # XXX backwards compatibility - don't remove
+ # backwards compatibility - don't remove
sendmessage = nosymessage
def send_message(self, nodeid, msgid, note, sendto):
def email_signature(self, nodeid, msgid):
''' Add a signature to the e-mail with some useful information
'''
-
# simplistic check to see if the url is valid,
# then append a trailing slash if it is missing
base = self.db.config.TRACKER_WEB
"fully-qualified URL"
elif base[-1] != '/' :
base += '/'
- web = base + 'issue'+ nodeid
+ web = base + self.classname + nodeid
# ensure the email address is properly quoted
email = straddr((self.db.config.TRACKER_NAME,