devtools/__init__.py
changeset 2732 c28b5f16f3af
parent 2657 de974465d381
child 2773 b2530e3e0afb
child 3153 93ce84956679
--- a/devtools/__init__.py	Fri Aug 07 13:59:18 2009 +0200
+++ b/devtools/__init__.py	Fri Aug 07 13:59:38 2009 +0200
@@ -256,7 +256,7 @@
 
 CubicWebConfiguration.cls_adjust_sys_path()
 
-def install_sqlite_path(querier):
+def install_sqlite_patch(querier):
     """This patch hotfixes the following sqlite bug :
        - http://www.sqlite.org/cvstrac/tktview?tn=1327,33
        (some dates are returned as strings rather thant date objects)
@@ -312,7 +312,7 @@
     repo, cnx = in_memory_cnx(vreg or config, unicode(source['admin']['login']),
                               source['admin']['password'] or 'xxx')
     if driver == 'sqlite':
-        install_sqlite_path(repo.querier)
+        install_sqlite_patch(repo.querier)
     return repo, cnx
 
 def init_test_database_postgres(config, source, vreg=None):