From e5a0da2bbeb0e477925d02890e346785cc8f9b0d Mon Sep 17 00:00:00 2001 From: Russel Winder Date: Tue, 11 Aug 2009 11:55:39 +0100 Subject: [PATCH] Add in the import to allow the with statement in Python 2.5. --- SConstruct | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SConstruct b/SConstruct index 93bf3c6..00877b6 100644 --- a/SConstruct +++ b/SConstruct @@ -17,6 +17,11 @@ # # Author: Russel Winder +# To support Python 2.5 we need the following, which seems to do no harm in Python 2.6. Only if Python 2.6 +# is the floor version supported can be dispensed with. + +from __future__ import with_statement + import os includeDirectory = 'include'