mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-26 18:56:59 +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
f5c2e64f82
commit
c5e79b4215
@ -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