mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
We don't currently support colors on windows
This commit is contained in:
parent
3a755208f4
commit
d2b696ba8b
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue