diff --git a/blazarnova/scheduler/filters/blazar_filter.py b/blazarnova/scheduler/filters/blazar_filter.py index 42141cf..1bd7c3e 100644 --- a/blazarnova/scheduler/filters/blazar_filter.py +++ b/blazarnova/scheduler/filters/blazar_filter.py @@ -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 diff --git a/lower-constraints.txt b/lower-constraints.txt index e534cc5..c436b3e 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -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 diff --git a/requirements.txt b/requirements.txt index 4700767..6f902f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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