def end_recording(status, firepython_set_extension_data=None):
 if (firepython_set_extension_data is not None):
  warnings.warn('Firepython is no longer supported')
 rec = recorder_proxy.get_for_current_request()
 recorder_proxy.clear_for_current_request()
 if config.DEBUG:
  logging.debug('Cleared recorder')
 if (rec is not None):
  try:
   rec.record_http_status(status)
   rec.save()
  finally:
   memcache.delete(lock_key(), namespace=config.KEY_NAMESPACE)

def end_recording ( status , firepython_set_extension_data = None ) : if ( firepython_set_extension_data is not None ) : warnings . warn ( 'Firepython is no longer supported' ) rec = recorder_proxy . get_for_current_request ( ) recorder_proxy . clear_for_current_request ( ) if config . DEBUG : logging . debug ( 'Cleared recorder' ) if ( rec is not None ) : try : rec . record_http_status ( status ) rec . save ( ) finally : memcache . delete ( lock_key ( ) , namespace = config . KEY_NAMESPACE )
stop recording rpc traces and save all traces to memcache .