Remove six

There were only two small users. No need to keep the library around for
those.

Change-Id: Iad5d845b46852ce74962a134c8d250142f29c8e3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2021-10-21 10:07:36 +01:00
parent 42053b1f92
commit fcf44fcfb5
3 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,6 @@ from docutils.parsers import rst
from docutils.parsers.rst.directives.tables import Table
from docutils.statemachine import ViewList
import pbr.version
import six
from sphinx.util import logging
from sphinx.util.osutil import copyfile
import yaml
@ -392,7 +391,7 @@ class RestParametersDirective(Table):
groups = []
trow = nodes.row()
entry = nodes.entry()
para = nodes.paragraph(text=six.u(table_data))
para = nodes.paragraph(text=str(table_data))
entry += para
trow += entry
rows.append(trow)

View File

@ -10,10 +10,11 @@
# License for the specific language governing permissions and limitations
# under the License.
from http.client import responses
from docutils import nodes
from docutils.parsers.rst.directives.tables import Table
from docutils.statemachine import ViewList
from six.moves.http_client import responses
from sphinx.util import logging
import yaml

View File

@ -4,6 +4,5 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
PyYAML>=3.12 # MIT
six>=1.10.0 # MIT
sphinx>=4.0.0 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0