hgext/color.py
changeset 31113 268caf97c38f
parent 31110 7fec37746417
child 31115 f5131d4f512a
--- a/hgext/color.py	Sat Feb 25 15:00:44 2017 +0100
+++ b/hgext/color.py	Sat Feb 25 15:00:51 2017 +0100
@@ -212,7 +212,7 @@
         color._styles.clear()
         for effect in color._effects.keys():
             color._styles[effect] = effect
-        if color._terminfo_params:
+        if ui._terminfoparams:
             for k, v in ui.configitems('color'):
                 if k.startswith('color.'):
                     color._styles[k] = k[6:]