equal
deleted
inserted
replaced
373 |
373 |
374 @deprecated('[3.8] use direct access to req.session.data dictionary') |
374 @deprecated('[3.8] use direct access to req.session.data dictionary') |
375 def del_session_data(self, key): |
375 def del_session_data(self, key): |
376 self.session.data.pop(key, None) |
376 self.session.data.pop(key, None) |
377 |
377 |
|
378 # these are overridden by set_log_methods below |
|
379 # only defining here to prevent pylint from complaining |
|
380 info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None |
378 |
381 |
379 set_log_methods(DBAPIRequest, getLogger('cubicweb.dbapi')) |
382 set_log_methods(DBAPIRequest, getLogger('cubicweb.dbapi')) |
380 |
383 |
381 |
384 |
382 # exceptions ################################################################## |
385 # exceptions ################################################################## |