summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ca9f98)
raw | patch | inline | side by side (parent: 6ca9f98)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 27 Feb 2004 00:41:07 +0000 (00:41 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 27 Feb 2004 00:41:07 +0000 (00:41 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2125 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/templating.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 2cc96571d6e8ec08f668d3f32003b2b7a19d694c..8099805834d17c4ba1e79722303ceeaf0d012a1d 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
for Multilink and Link form fields (sf bug 904072)
- made errors from bad input in the quick "Show issue:" form more
user-friendly (sf bug 904064)
+- don't add a query to a user's list if it's already there
+- nicer invalid property error in HTML templating
2004-02-25 0.6.6
index de9d09605072cd78e789705e5f4634a33e2a468b..c2635bbf910b1b34db8cef8a25d436d3fb382e03 100644 (file)
return None
# get the property
- prop = self._props[item]
+ try:
+ prop = self._props[item]
+ except KeyError:
+ raise KeyError, 'No such property "%s" on %s'%(item, self.classname)
# look up the correct HTMLProperty class
form = self._client.form