Mercurial > hg-stable
comparison mercurial/mail.py @ 26098:ce26928cbe41
spelling: behaviour -> behavior
author | timeless@mozdev.org |
---|---|
date | Fri, 28 Aug 2015 10:53:55 -0400 |
parents | ae21d51bdc43 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
26097:220ee13946d3 | 26098:ce26928cbe41 |
---|---|
29 (Python issue1974, r70772) in email.Generator.Generator code: | 29 (Python issue1974, r70772) in email.Generator.Generator code: |
30 pre-2.7 code passed "continuation_ws='\t'" to the Header | 30 pre-2.7 code passed "continuation_ws='\t'" to the Header |
31 constructor, and 2.7 removed this parameter. | 31 constructor, and 2.7 removed this parameter. |
32 | 32 |
33 Default argument is continuation_ws=' ', which means that the | 33 Default argument is continuation_ws=' ', which means that the |
34 behaviour is different in <2.7 and 2.7 | 34 behavior is different in <2.7 and 2.7 |
35 | 35 |
36 We consider the 2.7 behaviour to be preferable, but need | 36 We consider the 2.7 behavior to be preferable, but need |
37 to have an unified behaviour for versions 2.4 to 2.7 | 37 to have an unified behavior for versions 2.4 to 2.7 |
38 """ | 38 """ |
39 # override continuation_ws | 39 # override continuation_ws |
40 kw['continuation_ws'] = ' ' | 40 kw['continuation_ws'] = ' ' |
41 _oldheaderinit(self, *args, **kw) | 41 _oldheaderinit(self, *args, **kw) |
42 | 42 |