restore monthrange import tls-sprint
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Thu, 30 Apr 2009 17:44:35 +0200
branchtls-sprint
changeset 1625 744f0cc8758f
parent 1616 b081fe3d5945
child 1626 399ac5294471
restore monthrange import
utils.py
--- a/utils.py	Thu Apr 30 15:39:02 2009 +0200
+++ b/utils.py	Thu Apr 30 17:44:35 2009 +0200
@@ -11,10 +11,10 @@
 from datetime import datetime, timedelta, date
 from time import time
 from random import randint, seed
+from calendar import monthrange
 
 # initialize random seed from current time
 seed()
-
 try:
     strptime = datetime.strptime
 except AttributeError: # py < 2.5