Fix: System python test failure after #132432

The text keyword is an alias of universal_newlines, and was introduced
in newer Python versions.
This commit is contained in:
Brecht Van Lommel
2024-12-31 00:14:47 +01:00
parent fbc5710ddd
commit 00a51b18b7

View File

@@ -21,7 +21,7 @@ MAYSUDO = subprocess.run("command -v sudo || command -v doas",
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True).stdout.rstrip('\n')
universal_newlines=True).stdout.rstrip('\n')
class LoggingColoredFormatter(logging.Formatter):