contrib/patchbomb
changeset 1136 d451888505d7
parent 1135 e455d91f6259
child 1154 c3cb9f39a91f
equal deleted inserted replaced
1135:e455d91f6259 1136:d451888505d7
   190 
   190 
   191     msg.attach(MIMEText('\n'.join(body) + '\n'))
   191     msg.attach(MIMEText('\n'.join(body) + '\n'))
   192 
   192 
   193     ui.write('\n')
   193     ui.write('\n')
   194 
   194 
   195     d = cdiffstat('Final summary:\n', jumbo)
   195     if opts['diffstat']:
   196     if d: msg.attach(MIMEText(d))
   196         d = cdiffstat('Final summary:\n', jumbo)
       
   197         if d: msg.attach(MIMEText(d))
   197 
   198 
   198     msgs.insert(0, msg)
   199     msgs.insert(0, msg)
   199 
   200 
   200     if not opts['test']:
   201     if not opts['test']:
   201         s = smtplib.SMTP()
   202         s = smtplib.SMTP()