summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 09:03:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 09:03:13 +0000
commit0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365 (patch)
tree1437375a1c16af40bb2982577c25eb9608e17566 /python
parentAdding debian version 115.11.0esr-1~deb12u1. (diff)
downloadfirefox-esr-0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365.tar.xz
firefox-esr-0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365.zip
Merging upstream version 115.12.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'python')
-rw-r--r--python/mach/mach/logging.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/mach/mach/logging.py b/python/mach/mach/logging.py
index d39f336cc0..cad5201a6b 100644
--- a/python/mach/mach/logging.py
+++ b/python/mach/mach/logging.py
@@ -47,6 +47,9 @@ def enable_blessed():
if os.environ.get("NO_ANSI"):
return False
+ if not os.environ.get("MOZILLABUILD"):
+ return False
+
# MozillaBuild 4.0.2 is the first Release that supports
# ANSI escape sequences, so if we're greater than that
# version, we can enable them (via Blessed).