From 3b3d292f0fb7bb2190022a4a03b5c8477ab436f4 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Sun, 23 Jan 2011 22:31:02 +0000 Subject: [PATCH] added python 2.4 ignore case for qmake persist --- build/toolchain.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/toolchain.py b/build/toolchain.py index 2e932bf1..4b4017f7 100644 --- a/build/toolchain.py +++ b/build/toolchain.py @@ -215,6 +215,10 @@ class InternalCommands: self.persist_w32_make() def persist_qmake(self): + # cannot use subprocess on < python 2.4 + if sys.version_info < (2, 4): + return + try: p = subprocess.Popen( [self.qmake_cmd, '--version'],