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