[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cvs
Subject:    [Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/DateTime.py
From:       Andreas Jung <andreas () andreas-jung ! com>
Date:       2004-07-30 11:01:52
Message-ID: 20040730110152.72A7C2030A3 () mail ! zope ! org
[Download RAW message or body]

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))
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic