[master] 23b154c61 Be compatible with older python3 versions
Poul-Henning Kamp
phk at FreeBSD.org
Mon Mar 29 08:43:04 UTC 2021
commit 23b154c61c9c24b3c10a171e536932a7c12bc8d2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Mar 29 08:42:18 2021 +0000
Be compatible with older python3 versions
diff --git a/wflags.py b/wflags.py
index 1141f05b0..6e51bc44b 100644
--- a/wflags.py
+++ b/wflags.py
@@ -95,7 +95,8 @@ def main():
"-o", obj_file.name,
src_file.name,
],
- capture_output=True,
+ stderr=subprocess.PIPE,
+ stdout=subprocess.PIPE,
)
if not j.returncode and not j.stdout and not j.stderr:
use_flags.append(i)
More information about the varnish-commit
mailing list