| Index: depot-tools-auth.py
|
| diff --git a/depot-tools-auth.py b/depot-tools-auth.py
|
| index 3ebc239d8753b53911d59755a0f4fcd1b7eb83e1..87ec1ccf00c861e34e87408b9b913bcc2d8df32f 100755
|
| --- a/depot-tools-auth.py
|
| +++ b/depot-tools-auth.py
|
| @@ -14,6 +14,7 @@ Usage:
|
| import logging
|
| import optparse
|
| import sys
|
| +import os
|
|
|
| from third_party import colorama
|
|
|
| @@ -94,7 +95,7 @@ def main(argv):
|
|
|
|
|
| if __name__ == '__main__':
|
| - colorama.init()
|
| + colorama.init(wrap="TERM" not in os.environ)
|
| try:
|
| sys.exit(main(sys.argv[1:]))
|
| except KeyboardInterrupt:
|
|
|