def reply_published_cb(sender, user, reply, trivial, **kwargs):
 siteconfig = SiteConfiguration.objects.get_current()
 if (siteconfig.get(u'mail_send_review_mail') and (not trivial)):
  mail_reply(reply, user)

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