Mercurial > hg
changeset 38706:83d965803325
obsolete: clarify users in markerusers() never contain None
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 15 Jul 2018 18:22:40 +0900 |
parents | e4b270a32ba8 |
children | 6b5ca1d0aa1e |
files | mercurial/obsutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/obsutil.py Thu Jul 12 23:07:29 2018 +0900 +++ b/mercurial/obsutil.py Sun Jul 15 18:22:40 2018 +0900 @@ -822,7 +822,7 @@ """ Returns a sorted list of markers users without duplicates """ markersmeta = [dict(m[3]) for m in markers] - users = set(meta.get('user') for meta in markersmeta if meta.get('user')) + users = set(meta['user'] for meta in markersmeta if meta.get('user')) return sorted(users)