typo
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Aug 2009 13:59:38 +0200
changeset 2732 c28b5f16f3af
parent 2731 815b93271338
child 2733 e73118788a56
typo
devtools/__init__.py
--- 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):