@receiver(dbsignals.post_save, sender=ExternalAccount, dispatch_uid='add_employee_vouch_sig')
def add_employee_vouch(sender, instance, **kwargs):
 if (kwargs.get('raw') or (not (instance.type == ExternalAccount.TYPE_EMAIL))):
  return
 instance.user.auto_vouch()

@ receiver ( dbsignals . post_save , sender = ExternalAccount , dispatch_uid = 'add_employee_vouch_sig' ) def add_employee_vouch ( sender , instance , ** kwargs ) : if ( kwargs . get ( 'raw' ) or ( not ( instance . type == ExternalAccount . TYPE_EMAIL ) ) ) : return instance . user . auto_vouch ( )
add a vouch if an alternate email address is a mozilla* address .