mirror of
https://github.com/drasko/codezero.git
synced 2026-04-17 17:29:04 +02: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
|
# 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
|
import os
|
||||||
|
|
||||||
includeDirectory = 'include'
|
includeDirectory = 'include'
|
||||||
|
|||||||
Reference in New Issue
Block a user