[Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/DateTime.py
re-raising other exceptions during parsing phase
Andreas Jung
andreas at andreas-jung.com
Fri Jul 30 07:01:52 EDT 2004
Log message for revision 26846:
re-raising other exceptions during parsing phase
Changed:
U Zope/trunk/lib/python/DateTime/DateTime.py
-=-
Modified: Zope/trunk/lib/python/DateTime/DateTime.py
===================================================================
--- Zope/trunk/lib/python/DateTime/DateTime.py 2004-07-30 10:42:54 UTC (rev 26845)
+++ Zope/trunk/lib/python/DateTime/DateTime.py 2004-07-30 11:01:52 UTC (rev 26846)
@@ -501,6 +501,8 @@
try:
return self._parse_args(*args, **kw)
+ except (DateError, TimeError, DateTimeError):
+ raise
except:
raise SyntaxError('Unable to parse %s, %s' % (args, kw))
More information about the Zope-Checkins
mailing list