def review_request_published_cb(sender, user, review_request, trivial, changedesc, **kwargs):
 siteconfig = SiteConfiguration.objects.get_current()
 if (siteconfig.get(u'mail_send_review_mail') and (not trivial)):
  mail_review_request(review_request, user, changedesc)

def review_request_published_cb ( sender , user , review_request , trivial , changedesc , ** kwargs ) : siteconfig = SiteConfiguration . objects . get_current ( ) if ( siteconfig . get ( u'mail_send_review_mail' ) and ( not trivial ) ) : mail_review_request ( review_request , user , changedesc )
send e-mail when a review request is published .