server/repository.py
branchtls-sprint
changeset 1016 26387b836099
parent 636 3e9245cf0d9c
child 1138 22f634977c95
--- a/server/repository.py	Mon Mar 09 12:12:53 2009 +0100
+++ b/server/repository.py	Tue Mar 10 11:35:52 2009 +0100
@@ -19,10 +19,9 @@
 import sys
 import Queue
 from os.path import join, exists
+from datetime import datetime
 from time import time, localtime, strftime
 
-from mx.DateTime import now
-
 from logilab.common.decorators import cached
 
 from yams import BadSchemaDefinition
@@ -662,7 +661,7 @@
           deleted since the given timestamp
         """
         session = self.internal_session()
-        updatetime = now()
+        updatetime = datetime.now()
         try:
             modentities, delentities = self.system_source.modified_entities(
                 session, etypes, mtime)