Skip to content

Commit 45f5cec

Browse files
author
Richard Jones
committed
remove hard-coded "issue"
1 parent 85f587f commit 45f5cec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

roundup/roundupdb.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: roundupdb.py,v 1.67 2002-09-10 12:44:42 richard Exp $
18+
# $Id: roundupdb.py,v 1.68 2002-09-11 02:20:35 richard Exp $
1919

2020
__doc__ = """
2121
Extending hyperdb with types specific to issue-tracking.
@@ -287,7 +287,6 @@ def send_message(self, nodeid, msgid, note, sendto):
287287
def email_signature(self, nodeid, msgid):
288288
''' Add a signature to the e-mail with some useful information
289289
'''
290-
291290
# simplistic check to see if the url is valid,
292291
# then append a trailing slash if it is missing
293292
base = self.db.config.TRACKER_WEB
@@ -296,7 +295,7 @@ def email_signature(self, nodeid, msgid):
296295
"fully-qualified URL"
297296
elif base[-1] != '/' :
298297
base += '/'
299-
web = base + 'issue'+ nodeid
298+
web = base + self.classname + nodeid
300299

301300
# ensure the email address is properly quoted
302301
email = straddr((self.db.config.TRACKER_NAME,

0 commit comments

Comments
 (0)