mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
Add in the import to allow the with statement in Python 2.5.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user