mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 14:50:22 +00:00
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:
parent
01c06d6eaa
commit
6e454248cc
@ -1,3 +1,4 @@
|
||||
from __future__ import with_statement
|
||||
from cStringIO import StringIO
|
||||
|
||||
def camel_to_underscores(s, upper = False):
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
from __future__ import with_statement
|
||||
import ptypes
|
||||
import codegen
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
from __future__ import with_statement
|
||||
import ptypes
|
||||
import codegen
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user