

def generate_mail(self, type_mail, version=''):
    self.type_mail = type_mail
    self.message_txt = self._message_txt.format(version, version)
    self.message_html = self._message_html.format(type_mail, version)
    self.subject_txt = self._subject_txt.format(type_mail, version)
    self.subject = self._subject()
    self.message_html = self._message_in_html()
    self.message = self._message_in_txt()

dataset/ETHPy150Open bread-and-pepper/django-userena/userena/mail.py UserenaConfirmationMail.generate_mail/VarMisuse@32/43 `type_mail`->`version`