equal
deleted
inserted
replaced
282 value = self._binary(value.getvalue()) |
282 value = self._binary(value.getvalue()) |
283 attrs[SQL_PREFIX+str(attr)] = value |
283 attrs[SQL_PREFIX+str(attr)] = value |
284 attrs[SQL_PREFIX+'eid'] = entity.eid |
284 attrs[SQL_PREFIX+'eid'] = entity.eid |
285 return attrs |
285 return attrs |
286 |
286 |
|
287 # these are overridden by set_log_methods below |
|
288 # only defining here to prevent pylint from complaining |
|
289 info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None |
287 |
290 |
288 from logging import getLogger |
291 from logging import getLogger |
289 from cubicweb import set_log_methods |
292 from cubicweb import set_log_methods |
290 set_log_methods(SQLAdapterMixIn, getLogger('cubicweb.sqladapter')) |
293 set_log_methods(SQLAdapterMixIn, getLogger('cubicweb.sqladapter')) |
291 |
294 |