We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6fa7f commit 8fcd40eCopy full SHA for 8fcd40e
CHANGES.txt
@@ -80,6 +80,8 @@ Fixed:
80
for Multilink and Link form fields (sf bug 904072)
81
- made errors from bad input in the quick "Show issue:" form more
82
user-friendly (sf bug 904064)
83
+- don't add a query to a user's list if it's already there
84
+- nicer invalid property error in HTML templating
85
86
87
2004-02-25 0.6.6
roundup/cgi/templating.py
@@ -376,7 +376,10 @@ def __getitem__(self, item):
376
return None
377
378
# get the property
379
- prop = self._props[item]
+ try:
380
+ prop = self._props[item]
381
+ except KeyError:
382
+ raise KeyError, 'No such property "%s" on %s'%(item, self.classname)
383
384
# look up the correct HTMLProperty class
385
form = self._client.form
0 commit comments