[Piuparts-commits] [piuparts] 06/10: p: set DPKG_COLORS=never in the environment
Holger Levsen
holger at layer-acht.org
Mon Dec 19 13:04:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 44c818006dde07793e278b0c131206828052ce58
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Dec 19 12:05:07 2016 +0100
p: set DPKG_COLORS=never in the environment
reduces the amount of ESC-codes in the logfile
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
piuparts.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/piuparts.py b/piuparts.py
index dbf2b18..2b1913b 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -3208,6 +3208,9 @@ def main():
# Packages that don't use debconf will lose.
os.environ["DEBIAN_FRONTEND"] = "noninteractive"
+ # Reduce the amount of ESC-codes in the logfile.
+ os.environ["DPKG_COLORS"] = "never"
+
if "DISPLAY" in os.environ:
del os.environ["DISPLAY"]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list