equal
deleted
inserted
replaced
255 |
255 |
256 CubicWebConfiguration.cls_adjust_sys_path() |
256 CubicWebConfiguration.cls_adjust_sys_path() |
257 |
257 |
258 def install_sqlite_path(querier): |
258 def install_sqlite_path(querier): |
259 """This patch hotfixes the following sqlite bug : |
259 """This patch hotfixes the following sqlite bug : |
260 - http://www.sqlite.org/cvstrac/tktview?tn=1327,33 |
260 - http://www.sqlite.org/cvstrac/tktview?tn=1327,33 |
261 (some dates are returned as strings rather thant date objects) |
261 (some dates are returned as strings rather thant date objects) |
262 """ |
262 """ |
263 def wrap_execute(base_execute): |
263 def wrap_execute(base_execute): |
264 def new_execute(*args, **kwargs): |
264 def new_execute(*args, **kwargs): |
265 rset = base_execute(*args, **kwargs) |
265 rset = base_execute(*args, **kwargs) |
266 if rset.description: |
266 if rset.description: |