Remove six

Implements: blueprint six-removal

Change-Id: I045998ff8c11befd79a7382e07cb61cc79c6ee77
This commit is contained in:
Pierre Riteau 2021-03-11 13:53:14 +01:00
parent 28cca8413c
commit 2bff1bc341
3 changed files with 1 additions and 5 deletions

View File

@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import six
from blazarnova.i18n import _
from nova.scheduler import filters
@ -115,7 +113,7 @@ class BlazarFilter(filters.BaseHostFilter):
# Find which Pools the user wants to use (if any)
requested_pools = spec_obj.get_scheduler_hint('reservation')
if isinstance(requested_pools, six.text_type):
if isinstance(requested_pools, str):
requested_pools = [requested_pools]
# the request is host reservation

View File

@ -134,7 +134,6 @@ retrying==1.3.3
rfc3986==1.2.0
Routes==2.3.1
simplejson==3.13.2
six==1.15.0
Sphinx==1.6.2
sphinxcontrib-httpdomain==1.3.0
smmap2==2.0.3

View File

@ -4,4 +4,3 @@
oslo.config>=6.8.0 # Apache-2.0
oslo.i18n>=5.0.1 # Apache-2.0
oslo.log>=4.4.0 # Apache-2.0
six>=1.15.0 # MIT