reverse as a separate statement

This commit is contained in:
Dimitur Kirov 2006-05-31 06:36:49 +00:00
parent 97430552cb
commit 01c37775bf
1 changed files with 2 additions and 1 deletions

View File

@ -541,7 +541,8 @@ class RosterTooltip(NotificationAreaTooltip):
if num_resources > 1:
properties.append((_('Status: '), ' '))
contact_keys = contacts_dict.keys()
contact_keys.sort(reverse = True)
contact_keys.sort()
contact_keys.reverse()
for priority in contact_keys:
for contact in contacts_dict[priority]:
status_line = self.get_status_info(contact.resource,