##// END OF EJS Templates
obsolete: clarify users in markerusers() never contain None
Yuya Nishihara -
r38728:83d96580 default
parent child Browse files
Show More
@@ -822,7 +822,7 b' def markersusers(markers):'
822 """ Returns a sorted list of markers users without duplicates
822 """ Returns a sorted list of markers users without duplicates
823 """
823 """
824 markersmeta = [dict(m[3]) for m in markers]
824 markersmeta = [dict(m[3]) for m in markers]
825 users = set(meta.get('user') for meta in markersmeta if meta.get('user'))
825 users = set(meta['user'] for meta in markersmeta if meta.get('user'))
826
826
827 return sorted(users)
827 return sorted(users)
828
828
General Comments 0
You need to be logged in to leave comments. Login now