Skip to content
Snippets Groups Projects
Commit 01c37775 authored by dkirov's avatar dkirov
Browse files

reverse as a separate statement

parent 97430552
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment