don't update dontcheck until everything went fine:
see usage in after_update_entity, where if we got an Unauthorized at
hook time, we will retry and commit time.
"""pre 3.6 bw compat"""# pylint: disable-msg=W0614,W0401fromwarningsimportwarnwarn('moved to cubicweb.mail',DeprecationWarning,stacklevel=2)fromcubicweb.mailimport*