fix compat. w/ python < 3.3

This commit is contained in:
Gustavo Carneiro committed 2021-04-05 15:23:44 +01:00
1 parent d23abaa521
commit a4612f7cd9
1 file changed
+1 -1
+1 -1
View File
@@ -167,7 +167,7 @@ def configure(conf):
# this causes pybindgen/version.py to be generated by setuptools_scm
subprocess.Popen(
[conf.env["PYTHON"][0], "setup.py", "--help-commands"],
stdout=subprocess.DEVNULL,
stdout=getattr(subprocess, "DEVNULL", None),
).wait()
try: