summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-24 14:36:43 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-24 14:36:43 +0200
commit7acf2392d4e8e0eaae7a8a7566d5e2911a8313f2 (patch)
tree89708e23cc0000091dc6f6b75ab2d73f0c0f7d63
parent7e8c50863b305a6cb01f715d1f8f41042d919ccf (diff)
downloadlogilab-common-7acf2392d4e8e0eaae7a8a7566d5e2911a8313f2.tar.gz
remove spurious warning: we don't rely that much on mx datetime anymore
-rw-r--r--date.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/date.py b/date.py
index 81bbbc7..aec3357 100644
--- a/date.py
+++ b/date.py
@@ -15,12 +15,8 @@
#
# You should have received a copy of the GNU Lesser General Public License along
# with logilab-common. If not, see <http://www.gnu.org/licenses/>.
-"""Date manipulation helper functions.
+"""Date manipulation helper functions."""
-
-
-
-"""
__docformat__ = "restructuredtext en"
import math
@@ -33,8 +29,6 @@ from calendar import monthrange, timegm
try:
from mx.DateTime import RelativeDateTime, Date, DateTimeType
except ImportError:
- from warnings import warn
- warn("mxDateTime not found, endOfMonth won't be available")
endOfMonth = None
DateTimeType = datetime
else: