comparison mercurial/mail.py @ 17428:72803c8edaa4

avoid using abbreviations that look like spelling errors
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 27 Aug 2012 23:14:27 +0200
parents e7cfe3587ea4
children cf1304fbc184
comparison
equal deleted inserted replaced
17427:57c6c24b9bc4 17428:72803c8edaa4
11 import email.Header, email.MIMEText, email.Utils 11 import email.Header, email.MIMEText, email.Utils
12 12
13 _oldheaderinit = email.Header.Header.__init__ 13 _oldheaderinit = email.Header.Header.__init__
14 def _unifiedheaderinit(self, *args, **kw): 14 def _unifiedheaderinit(self, *args, **kw):
15 """ 15 """
16 Python2.7 introduces a backwards incompatible change 16 Python 2.7 introduces a backwards incompatible change
17 (Python issue1974, r70772) in email.Generator.Generator code: 17 (Python issue1974, r70772) in email.Generator.Generator code:
18 pre-2.7 code passed "continuation_ws='\t'" to the Header 18 pre-2.7 code passed "continuation_ws='\t'" to the Header
19 constructor, and 2.7 removed this parameter. 19 constructor, and 2.7 removed this parameter.
20 20
21 Default argument is continuation_ws=' ', which means that the 21 Default argument is continuation_ws=' ', which means that the