Fix build on systems with Python 3 0/3
Shawn J. Goff
shawn7400 at gmail.com
Mon Dec 17 13:29:14 PST 2012
From: "Shawn J. Goff" <shawn.goff at accelecon.com>
qmi-codegen uses several methods that have been deprecated in Python 2 for some
time and that have been completely removed in Python 3. This causes the build
to fail on systems with Python 3. This patch series continues the work of
making the build work on systems with Python 3.
Shawn J. Goff (3):
qmi-codegen python3: change string.replace() class method use to
str.replace() instance method
qmi-codegen python3: fix dict.has_key('key') to 'key' in dict
qmi-codegen python3: change string.lower(str) to str.lower()
build-aux/qmi-codegen/Client.py | 2 +-
build-aux/qmi-codegen/MessageList.py | 4 ++--
build-aux/qmi-codegen/Variable.py | 2 +-
build-aux/qmi-codegen/VariableArray.py | 2 +-
build-aux/qmi-codegen/utils.py | 11 +++++------
utils/qmidb/Fields.py | 2 +-
utils/qmidb/Structs.py | 2 +-
7 files changed, 12 insertions(+), 13 deletions(-)
--
1.8.0.2
More information about the libqmi-devel
mailing list