dbapi.py
branchstable
changeset 7085 36e91d19188b
parent 7061 bb2080547722
parent 7083 b8e35cde46e9
child 7134 01544b6d98fa
equal deleted inserted replaced
7082:1b07eb7180a2 7085:36e91d19188b
   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 ##################################################################