diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-09-24 14:36:43 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-09-24 14:36:43 +0200 |
commit | 7acf2392d4e8e0eaae7a8a7566d5e2911a8313f2 (patch) | |
tree | 89708e23cc0000091dc6f6b75ab2d73f0c0f7d63 | |
parent | 7e8c50863b305a6cb01f715d1f8f41042d919ccf (diff) | |
download | logilab-common-7acf2392d4e8e0eaae7a8a7566d5e2911a8313f2.tar.gz |
remove spurious warning: we don't rely that much on mx datetime anymore
-rw-r--r-- | date.py | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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: |