remove DateError from date.py

The exact copy existing in errors.py should suffice.
This commit is contained in:
Vassilii Khachaturov 2013-11-23 21:38:34 +02:00
parent 28095ac397
commit 175213b902

View File

@ -61,20 +61,7 @@ from .calendar import (gregorian_sdn, julian_sdn, hebrew_sdn,
french_ymd, persian_ymd, islamic_ymd, french_ymd, persian_ymd, islamic_ymd,
swedish_ymd) swedish_ymd)
from ..config import config from ..config import config
from ..errors import DateError
#-------------------------------------------------------------------------
#
# DateError exception
#
#-------------------------------------------------------------------------
class DateError(Exception):
"""Error used to report Date errors."""
def __init__(self, value=""):
Exception.__init__(self)
self.value = value
def __str__(self):
return self.value
class Span(object): class Span(object):
""" """