xml library tostring() accepts only one argument instead of 2

Bug #1977869 reported by Luis Sampaio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Luis Sampaio

Bug Description

Brief Description
-----------------
lxml library tostring() accepts only one argument instead of 2. This raises the following exception while trying to generate patches:

'tostring() takes exactly 1 positional argument (2 given)',)

Severity
--------
Low

Steps to Reproduce
------------------
Generate or modify a patch will throw the error

Luis Sampaio (lsampaio)
Changed in starlingx:
assignee: nobody → Luis Sampaio (lsampaio)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to update (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/update/+/845013

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to update (master)

Reviewed: https://review.opendev.org/c/starlingx/update/+/845013
Committed: https://opendev.org/starlingx/update/commit/b94c464a7402e86d1dbaf970958b6ea3e4fa692e
Submitter: "Zuul (22348)"
Branch: master

commit b94c464a7402e86d1dbaf970958b6ea3e4fa692e
Author: Luis Sampaio <email address hidden>
Date: Tue Jun 7 09:20:24 2022 -0700

    Update tostring while writing xml

    lxml library tostring() accepts only one argument
    instead of 2 like it was before. This commit removes
    the second argument.

    Closes-Bug: 1977869

    Signed-off-by: Luis Sampaio <email address hidden>
    Change-Id: I9bb43a758bb660c8ab6edbf54984ff993b7f8598

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.7.0 stx.tools
Changed in starlingx:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.