We don't currently support colors on windows

This commit is contained in:
Pedro Algarvio 2016-05-20 15:39:40 +01:00
parent 3a755208f4
commit d2b696ba8b
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -594,6 +594,10 @@ class TestDaemon(object):
def __init__(self, parser):
self.parser = parser
self.colors = get_colors(self.parser.options.no_colors is False)
if salt.utils.is_windows():
# There's no shell color support on windows...
for key in self.colors:
self.colors[key] = ''
def __enter__(self):
'''