Commits

Steve Losh  committed 0ea0da8

Fix cfbe to work with the latest version of be.

  • Participants
  • Parent commits b9e5022

Comments (0)

Files changed (1)

     
     def get_common_information(self):
         """Returns a dict of common information that most pages will need."""
-        possible_assignees = list(set([bug.assigned for bug in self.bd if unicode(bug.assigned) != 'None']))
+        possible_assignees = list(set(
+          [unicode(bug.assigned) for bug in self.bd if bug.assigned != 'None']))
         possible_assignees.sort(key=unicode.lower)
         
-        possible_targets = list(set([bug.target for bug in self.bd if unicode(bug.target) != 'None']))
+        possible_targets = list(set(
+          [unicode(bug.target) for bug in self.bd if bug.target != 'None']))
         possible_targets.sort(key=unicode.lower)
         
         possible_statuses = [u'open', u'assigned', u'test', u'unconfirmed',