=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== tryton-modules-notification-email-5.0.4/notification.py-21- tryton-modules-notification-email-5.0.4/notification.py:22:def _formataddr(name, email): tryton-modules-notification-email-5.0.4/notification.py-23- if name: tryton-modules-notification-email-5.0.4/notification.py-24- name = str(Header(name, 'utf-8')) tryton-modules-notification-email-5.0.4/notification.py:25: return formataddr((name, email)) tryton-modules-notification-email-5.0.4/notification.py-26- ############################################## tryton-modules-notification-email-5.0.4/notification.py-152- if isinstance(record, User) and record.email: tryton-modules-notification-email-5.0.4/notification.py:153: return _formataddr(record.rec_name, record.email) tryton-modules-notification-email-5.0.4/notification.py-154- elif Party and isinstance(record, Party): ############################################## tryton-modules-notification-email-5.0.4/notification.py-157- if contact and contact.email: tryton-modules-notification-email-5.0.4/notification.py:158: return _formataddr( tryton-modules-notification-email-5.0.4/notification.py-159- contact.name or record.rec_name, contact.email) ############################################## tryton-modules-notification-email-5.0.4/notification.py-163- name = record.party.rec_name tryton-modules-notification-email-5.0.4/notification.py:164: return _formataddr(name, record.email) tryton-modules-notification-email-5.0.4/notification.py-165-