From 1188a44f47602248911d81f4dc3af08b830b65b9 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 4 Apr 2020 16:49:30 -0400 Subject: [PATCH] port to python 3.7 --- usr/lib/security-misc/apt-get-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/security-misc/apt-get-wrapper b/usr/lib/security-misc/apt-get-wrapper index e7d56c7..9fcc2d9 100755 --- a/usr/lib/security-misc/apt-get-wrapper +++ b/usr/lib/security-misc/apt-get-wrapper @@ -25,7 +25,7 @@ apt_get_exit_code="0" ## http://stackoverflow.com/a/26263980/2605155 ## for the python way to create a pty. -python -c 'import pty, sys; pty.spawn(sys.argv[1:])' \ +python3.7 -c 'import pty, sys; pty.spawn(sys.argv[1:])' \ | apt-get "$@" 2>&1 \ | tee -a "$logfile" \ || { apt_get_exit_code="$?"; true; };