~sil2100/ubuntu-archive-tools/sru-review-diffstat-py3

« back to all changes in this revision

Viewing changes to component-mismatches

  • Committer: Adam Conrad
  • Date: 2018-03-09 04:11:21 UTC
  • Revision ID: adconrad@0c3.net-20180309041121-4bf13e24wur6f7zy
component-mismatches: Fix scoping issue with {self.}assignee

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        self.assignee = assignee
78
78
 
79
79
    def __str__(self):
80
 
        if self.status not in ('Fix Committed', 'Fix Released') and assignee:
 
80
        if self.status not in ('Fix Committed', 'Fix Released') and self.assignee:
81
81
            s = "MIR: #%d (%s for %s)" % (self.id, self.status,
82
82
                                          self.assignee.display_name)
83
83
        else: