Author: alberto
Date: Tue Jan 22 01:57:07 2008
New Revision: 4024
URL: http://trac.turbogears.org/changeset/4024
Log:
catching Excepton instead of catch-all so KeyboardInterrupts and the like are
not trapped
Modified:
projects/ToscaWidgetsForms/trunk/toscawidgets/widgets/forms/core.py
Modified: projects/ToscaWidgetsForms/trunk/toscawidgets/widgets/forms/core.py
==============================================================================
--- projects/ToscaWidgetsForms/trunk/toscawidgets/widgets/forms/core.py
(original)
+++ projects/ToscaWidgetsForms/trunk/toscawidgets/widgets/forms/core.py Tue Jan
22 01:57:07 2008
@@ -166,7 +166,7 @@
validation fails the original value will be returned unmodified."""
try:
value = self.validate(value, use_request_local=False)
- except:
+ except Exception:
pass
return value