support python 2.5.4+ for marshaller/demarshallers

Patch adds a "from __future__" import that doesn't affect newer python's but
allows python 2.5.4 to run the code (tested under scratchbox, n900 build environment)
This commit is contained in:
Alon Levy 2010-07-29 09:03:15 -04:00 committed by Marc-André Lureau
parent f5c2e64f82
commit c5e79b4215
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
from __future__ import with_statement
from cStringIO import StringIO
def camel_to_underscores(s, upper = False):

View File

@ -1,3 +1,4 @@
from __future__ import with_statement
import ptypes
import codegen

View File

@ -1,3 +1,4 @@
from __future__ import with_statement
import ptypes
import codegen