[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/form/browser/vocabularyquery.py
Converted XXX to TODO.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:46:54 EDT 2004
Log message for revision 26347:
Converted XXX to TODO.
-=-
Modified: Zope3/trunk/src/zope/app/form/browser/vocabularyquery.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/vocabularyquery.py 2004-07-09 15:46:52 UTC (rev 26346)
+++ Zope3/trunk/src/zope/app/form/browser/vocabularyquery.py 2004-07-09 15:46:54 UTC (rev 26347)
@@ -205,7 +205,9 @@
try:
term = self.vocabulary.getTermByToken(token)
except LookupError:
- # XXX unsure what to pass to exception constructor
+ # TODO: unsure what to pass to exception constructor
+ # It is probably the wrong exception to use. You should
+ # probably write a custom one.
raise WidgetInputError(
"(query view for %s)" % self.context,
"(query view for %s)" % self.context,
More information about the Zope3-Checkins
mailing list