--- 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