Ticket #9484: textarea_email_formatting.patch
| File textarea_email_formatting.patch, 948 bytes (added by anonymous, 23 months ago) |
|---|
-
notification.py
139 139 new = obfuscate_email_address(new) 140 140 newv = new 141 141 l = 7 + len(field) 142 chg = wrap('%s => %s' % (old, new), self.COLS - l, '', 143 l * ' ', CRLF) 144 changes_body += ' * %s: %s%s' % (field, chg, CRLF) 142 chg = ('* %s: %s => %s' % (field, old, new)).replace( 143 CRLF, CRLF + l * ' ') 144 chg = wrap(chg, self.COLS, '', l * ' ', CRLF) 145 146 changes_body += ' %s%s' % (chg, CRLF) 145 147 if newv: 146 148 change_data[field] = {'oldvalue': old, 'newvalue': new} 147 149
