/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/git/commit.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-22 03:04:59 UTC
  • mto: This revision was merged to the branch mainline in revision 7211.
  • Revision ID: jelmer@jelmer.uk-20181122030459-cq7ym5wzpv385qu7
Review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
                else:
229
229
                    author = authors[0]
230
230
        c.author = fix_person_identifier(author.encode(encoding))
231
 
        try:
232
 
            bugstext = self._revprops.pop('bugs')
233
 
        except KeyError:
234
 
            pass
235
 
        else:
 
231
        bugstext = self._revprops.pop('bugs', None)
 
232
        if bugstext is not None:
236
233
            message += "\n"
237
234
            for url, status in bugtracker.decode_bug_urls(bugstext):
238
235
                if status == bugtracker.FIXED: