diff roundup/cgi/templating.py @ 3252:190ace261c0c maint-0.8

fix nosyreaction.py to stop it setting the nosy list unnecessarily
author Richard Jones <richard@users.sourceforge.net>
date Mon, 04 Apr 2005 07:16:03 +0000
parents 291652465de4
children 8b0397a90a22
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Mar 31 01:18:00 2005 +0000
+++ b/roundup/cgi/templating.py	Mon Apr 04 07:16:03 2005 +0000
@@ -1146,7 +1146,7 @@
                 # make sure s1 is a valid tracker classname
                 cl = self._db.getclass(s1)
                 if not cl.hasnode(s2):
-                    raise KeyError, 'oops'
+                    return s
                 return '<a href="%s%s">%s</a>'%(s1, s2, s)
             except KeyError:
                 return s

Roundup Issue Tracker: http://roundup-tracker.org/