diff options
author | Steve Losh <steve@stevelosh.com> | 2009-06-25 17:38:02 -0400 |
---|---|---|
committer | Steve Losh <steve@stevelosh.com> | 2009-06-25 17:38:02 -0400 |
commit | 01d2ad07456974c3b4d4539a7b49f4af0916795b (patch) | |
tree | 2c1a6e2c26e67e0831418461e868053d328f02dc | |
parent | aba3cc6fe99b844bf9038e3a02fd8ef147e866d7 (diff) | |
download | bugseverywhere-01d2ad07456974c3b4d4539a7b49f4af0916795b.tar.gz |
Fix cfbe to work with the latest version of be.
-rw-r--r-- | web.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -20,10 +20,12 @@ class WebInterface: 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', |