Mercurial > hg
comparison hgext/children.py @ 31069:cf2bc3792ef4
color: minor simplification of some terminfo setup code
No logic change is introduced. The previous code were using a 'dict.update' with
a complex generator. That was a bit confusing to read and not so compact.
Instead we now use an explicit loop and conditional for the sake of clarity.
This also allow for more simplification coming in the next changeset.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 22 Dec 2016 13:06:53 +0100 |
parents | d5883fd055c6 |
children | 46ba2cdda476 |
comparison
equal
deleted
inserted
replaced
31068:27d3bc0c9093 | 31069:cf2bc3792ef4 |
---|