Add in the import to allow the with statement in Python 2.5.

This commit is contained in:
Russel Winder
2009-08-11 11:55:39 +01:00
parent 9cb2b7470f
commit e5a0da2bbe

View File

@@ -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'