From 14bd774264333b18712c87940039b71cfc7a52ab Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Mon, 19 Nov 2007 00:28:37 +0000 Subject: [PATCH] Python version checking is better --- doc/makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/makepanda/makepandacore.py b/doc/makepanda/makepandacore.py index 3997d415f2..b1888c091d 100644 --- a/doc/makepanda/makepandacore.py +++ b/doc/makepanda/makepandacore.py @@ -694,7 +694,7 @@ def SdkLocatePython(): SDK["PYTHON"]="thirdparty/win-python" SDK["PYTHONVERSION"]="python2.4" else: - oscmd("python -V > built/tmp/pythonversion 2>&1") + os.system("python -V > built/tmp/pythonversion 2>&1") pv=ReadFile("built/tmp/pythonversion") if (pv.startswith("Python ")==0): exit("python -V did not produce the expected output")