Mercurial > evolve
changeset 2690:5d839e1f0ce9
template: handle lack of "users" in the obsfate data
This can happens when their are no markers (or the markers has no user data?)
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 02 Jul 2017 13:48:45 +0200 |
parents | 9e84b407fde5 |
children | 9b68a2083dac |
files | hgext3rd/evolve/templatekw.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/templatekw.py Fri Jun 30 16:29:26 2017 +0200 +++ b/hgext3rd/evolve/templatekw.py Sun Jul 02 13:48:45 2017 +0200 @@ -192,7 +192,7 @@ line.append(obsfateline['verb']) # Users - if verbose or normal: + if (verbose or normal) and 'users' in obsfateline: users = obsfateline['users'] if normal: