Skip to content

Commit de13298

Browse files
committed
change: remove red from possible colors when streaming logs
1 parent b0201c5 commit de13298

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sagemaker/logs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of
@@ -31,7 +31,9 @@ class ColorWrap(object):
3131
cell).
3232
"""
3333

34-
_stream_colors = [31, 32, 33, 34, 35, 36]
34+
# For what color each number represents, see
35+
# https://misc.flogisoft.com/bash/tip_colors_and_formatting#colors
36+
_stream_colors = [34, 35, 32, 36, 33]
3537

3638
def __init__(self, force=False):
3739
"""Initialize the class.

0 commit comments

Comments
 (0)