diff roundup/cgi/templating.py @ 3253:34d034a4c0d9

merge from 0.8 plus docs
author Richard Jones <richard@users.sourceforge.net>
date Mon, 04 Apr 2005 07:22:12 +0000
parents d2b1a946fdf4
children e4607e12d030
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Mar 31 00:45:25 2005 +0000
+++ b/roundup/cgi/templating.py	Mon Apr 04 07:22:12 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/