Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-sphinxcontrib-pecanwsme
python-sphinxcontrib-pecanwsme-no-six.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sphinxcontrib-pecanwsme-no-six.patch of Package python-sphinxcontrib-pecanwsme
Index: sphinxcontrib-pecanwsme-0.10.0/requirements.txt =================================================================== --- sphinxcontrib-pecanwsme-0.10.0.orig/requirements.txt +++ sphinxcontrib-pecanwsme-0.10.0/requirements.txt @@ -1,2 +1 @@ -six sphinxcontrib-httpdomain Index: sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib/pecanwsme/rest.py =================================================================== --- sphinxcontrib-pecanwsme-0.10.0.orig/sphinxcontrib/pecanwsme/rest.py +++ sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib/pecanwsme/rest.py @@ -22,7 +22,6 @@ from Pecan controllers exposed through W import inspect from functools import reduce -import six from docutils import nodes from docutils.parsers import rst from docutils.statemachine import ViewList @@ -57,7 +56,7 @@ def http_directive(method, path, content :param content: Text describing the endpoint. """ method = method.lower().strip() - if isinstance(content, six.string_types): + if isinstance(content, str): content = content.splitlines() yield '' yield '.. http:{method}:: {path}'.format(**locals()) Index: sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/requires.txt =================================================================== --- sphinxcontrib-pecanwsme-0.10.0.orig/sphinxcontrib_pecanwsme.egg-info/requires.txt +++ sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/requires.txt @@ -1,2 +1 @@ -six sphinxcontrib-httpdomain
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor