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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user