/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/email/emailer.py

  • Committer: Martin
  • Date: 2018-11-17 16:53:10 UTC
  • mto: This revision was merged to the branch mainline in revision 7186.
  • Revision ID: gzlist@googlemail.com-20181117165310-iti8yu4xba2d7p3j
Fix E71* lint errors

Mostly moving nots around and a few equality to idenity check changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
            msg.add_inline_attachment(diff, self.diff_filename())
248
248
 
249
249
        # Add revision_mail_headers to the headers
250
 
        if header != None:
 
250
        if header is None:
251
251
            for k, v in header.items():
252
252
                msg[k] = v
253
253