Commit b2a9515c authored by Nicolas Delaby's avatar Nicolas Delaby

Add missing Class

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19044 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4bbbb274
...@@ -32,6 +32,18 @@ from DateTime.DateTime import _calcSD, _calcDependentSecond, _calcYMDHMS, getDef ...@@ -32,6 +32,18 @@ from DateTime.DateTime import _calcSD, _calcDependentSecond, _calcYMDHMS, getDef
STATE_KEY = 'str' STATE_KEY = 'str'
class DateTimeError( Exception ):
pass
class SyntaxError( DateTimeError ):
pass
class DateError( DateTimeError ):
pass
class TimeError( DateTimeError ):
pass
def DateTime__setstate__(self, state): def DateTime__setstate__(self, state):
if isinstance(state, tuple): if isinstance(state, tuple):
t, tz = state t, tz = state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment