server/sqlutils.py
branchstable
changeset 4719 aaed3f813ef8
parent 4622 790181bfd19c
child 4831 c5aec27c1bf7
child 4854 b06d2a3b27d9
--- a/server/sqlutils.py	Fri Feb 26 13:12:01 2010 +0100
+++ b/server/sqlutils.py	Fri Feb 26 13:19:14 2010 +0100
@@ -9,9 +9,7 @@
 
 import os
 import subprocess
-from os.path import exists
-from warnings import warn
-from datetime import datetime, date, timedelta
+from datetime import datetime, date
 
 import logilab.common as lgc
 from logilab.common import db
@@ -24,7 +22,6 @@
 
 from cubicweb import Binary, ConfigurationError
 from cubicweb.uilib import remove_html_tags
-from cubicweb.toolsutils import restrict_perms_to_user
 from cubicweb.schema import PURE_VIRTUAL_RTYPES
 from cubicweb.server import SQL_CONNECT_HOOKS
 from cubicweb.server.utils import crypt_password