Fix build on systems with Python 3 0/3
Dan Williams
dcbw at redhat.com
Mon Dec 17 15:02:01 PST 2012
On Mon, 2012-12-17 at 16:29 -0500, Shawn J. Goff wrote:
> 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.
All applied, thanks!
Dan
> 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(-)
>
More information about the libqmi-devel
mailing list