changeset 21723 | 35eb333d61d5 |
parent 21249 | 2b8697e20978 |
child 21991 | aca137619a45 |
--- a/hgext/color.py Sat May 31 17:26:15 2014 -0700 +++ b/hgext/color.py Fri May 30 11:28:48 2014 -0700 @@ -168,7 +168,7 @@ def _modesetup(ui, coloropt): global _terminfo_params - auto = coloropt == 'auto' + auto = (coloropt == 'auto') always = not auto and util.parsebool(coloropt) if not always and not auto: return None