Remove six library import and usage from manila/utils.py

Bug #1948029 reported by BGj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
BGj

Bug Description

manila/utils.py (https://github.com/openstack/manila/blob/45f98a7d0a7d186cd46cd8da40715b87c029fe27/manila/utils.py) is still using the six library (Python 2 and 3 compatibility library). Manila is now using only Python 3 so six library is no longer needed.

BGj (mbeas)
Changed in manila:
assignee: nobody → BGj (mbeas)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/815136

Changed in manila:
status: New → In Progress
description: updated
Changed in manila:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/815136
Committed: https://opendev.org/openstack/manila/commit/b62081e138e80d5a17ef9495a744ac5869c554e2
Submitter: "Zuul (22348)"
Branch: master

commit b62081e138e80d5a17ef9495a744ac5869c554e2
Author: Besjana Gjika <email address hidden>
Date: Fri Oct 22 15:45:10 2021 +0000

    Deletes the six library and all its usages from manila/utils.py

    The manila/utils.py is still using six library and some of its methods, which are useless as Python 2 is no more used.

    The import of six library and encodeutils from oslo_utils are removed as well as their usage inside the code.

    Closes-Bug: #1948029
    Change-Id: I855022b9bd038449c0eb87868d6cf39413341db0

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 14.0.0.0rc1

This issue was fixed in the openstack/manila 14.0.0.0rc1 release candidate.

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.