[Erp5-report] r19044 - /erp5/trunk/products/ERP5Type/patches/DateTimePatch.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 5 13:04:02 CET 2008


Author: nicolas
Date: Tue Feb  5 13:04:01 2008
New Revision: 19044

URL: http://svn.erp5.org?rev=19044&view=rev
Log:
Add missing Class

Modified:
    erp5/trunk/products/ERP5Type/patches/DateTimePatch.py

Modified: erp5/trunk/products/ERP5Type/patches/DateTimePatch.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/DateTimePatch.py?rev=19044&r1=19043&r2=19044&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/DateTimePatch.py (original)
+++ erp5/trunk/products/ERP5Type/patches/DateTimePatch.py Tue Feb  5 13:04:01 2008
@@ -31,6 +31,18 @@
 from DateTime.DateTime import _calcSD, _calcDependentSecond, _calcYMDHMS, getDefaultDateFormat, _correctYear, _calcHMS, _calcDependentSecond2
 
 STATE_KEY = 'str'
+
+class DateTimeError( Exception ):
+    pass
+
+class SyntaxError( DateTimeError ):
+    pass
+
+class DateError( DateTimeError ):
+    pass
+
+class TimeError( DateTimeError ):
+    pass
 
 def DateTime__setstate__(self, state):
   if isinstance(state, tuple):




More information about the Erp5-report mailing list