comparison mercurial/mail.py @ 17424:e7cfe3587ea4

fix trivial spelling errors
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 15 Aug 2012 22:38:42 +0200
parents a82b6038ff08
children 72803c8edaa4
comparison
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
149 149
150 return mimetextqp(s, subtype, cs) 150 return mimetextqp(s, subtype, cs)
151 151
152 def mimetextqp(body, subtype, charset): 152 def mimetextqp(body, subtype, charset):
153 '''Return MIME message. 153 '''Return MIME message.
154 Qouted-printable transfer encoding will be used if necessary. 154 Quoted-printable transfer encoding will be used if necessary.
155 ''' 155 '''
156 enc = None 156 enc = None
157 for line in body.splitlines(): 157 for line in body.splitlines():
158 if len(line) > 950: 158 if len(line) > 950:
159 body = quopri.encodestring(body) 159 body = quopri.encodestring(body)