Merge "remove unicode from code"
This commit is contained in:
commit
238269c07f
doc/source
keystoneclient
releasenotes/source
@ -187,8 +187,8 @@ apidoc_excluded_paths = [
|
|||||||
# .
|
# .
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'doc-python-keystoneclient.tex',
|
('index', 'doc-python-keystoneclient.tex',
|
||||||
u'python-keystoneclient Documentation',
|
'python-keystoneclient Documentation',
|
||||||
u'OpenStack', 'manual'),
|
'OpenStack', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
|
@ -79,7 +79,7 @@ This example will create a tenant named *openstackDemo*::
|
|||||||
>>> keystone = client.Client(...)
|
>>> keystone = client.Client(...)
|
||||||
>>> keystone.tenants.create(tenant_name="openstackDemo",
|
>>> keystone.tenants.create(tenant_name="openstackDemo",
|
||||||
... description="Default Tenant", enabled=True)
|
... description="Default Tenant", enabled=True)
|
||||||
<Tenant {u'id': u'9b7962da6eb04745b477ae920ad55939', u'enabled': True, u'description': u'Default Tenant', u'name': u'openstackDemo'}>
|
<Tenant {'id': '9b7962da6eb04745b477ae920ad55939', 'enabled': True, 'description': 'Default Tenant', 'name': 'openstackDemo'}>
|
||||||
|
|
||||||
Creating users
|
Creating users
|
||||||
==============
|
==============
|
||||||
|
@ -232,8 +232,8 @@ class Discover(_discover.Discover):
|
|||||||
>>> disc = discover.Discovery(auth_url='http://localhost:5000')
|
>>> disc = discover.Discovery(auth_url='http://localhost:5000')
|
||||||
>>> disc.raw_version_data()
|
>>> disc.raw_version_data()
|
||||||
[{'id': 'v3.0',
|
[{'id': 'v3.0',
|
||||||
'links': [{'href': u'http://127.0.0.1:5000/v3/',
|
'links': [{'href': 'http://127.0.0.1:5000/v3/',
|
||||||
'rel': u'self'}],
|
'rel': 'self'}],
|
||||||
'media-types': [
|
'media-types': [
|
||||||
{'base': 'application/json',
|
{'base': 'application/json',
|
||||||
'type': 'application/vnd.openstack.identity-v3+json'},
|
'type': 'application/vnd.openstack.identity-v3+json'},
|
||||||
@ -242,11 +242,11 @@ class Discover(_discover.Discover):
|
|||||||
'status': 'stable',
|
'status': 'stable',
|
||||||
'updated': '2013-03-06T00:00:00Z'},
|
'updated': '2013-03-06T00:00:00Z'},
|
||||||
{'id': 'v2.0',
|
{'id': 'v2.0',
|
||||||
'links': [{'href': u'http://127.0.0.1:5000/v2.0/',
|
'links': [{'href': 'http://127.0.0.1:5000/v2.0/',
|
||||||
'rel': u'self'},
|
'rel': 'self'},
|
||||||
{'href': u'...',
|
{'href': '...',
|
||||||
'rel': u'describedby',
|
'rel': 'describedby',
|
||||||
'type': u'application/pdf'}],
|
'type': 'application/pdf'}],
|
||||||
'media-types': [
|
'media-types': [
|
||||||
{'base': 'application/json',
|
{'base': 'application/json',
|
||||||
'type': 'application/vnd.openstack.identity-v2.0+json'},
|
'type': 'application/vnd.openstack.identity-v2.0+json'},
|
||||||
|
@ -243,7 +243,7 @@ class SessionTests(utils.TestCase):
|
|||||||
session = client_session.Session(verify=False)
|
session = client_session.Session(verify=False)
|
||||||
|
|
||||||
body = 'RESP'
|
body = 'RESP'
|
||||||
data = u'αβγδ'
|
data = 'αβγδ'
|
||||||
self.stub_url('POST', text=body)
|
self.stub_url('POST', text=body)
|
||||||
session.post(self.TEST_URL, data=data)
|
session.post(self.TEST_URL, data=data)
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ class FakeManager(object):
|
|||||||
resources = {
|
resources = {
|
||||||
'1234': {'name': 'entity_one'},
|
'1234': {'name': 'entity_one'},
|
||||||
'8e8ec658-c7b0-4243-bdf8-6f7f2952c0d0': {'name': 'entity_two'},
|
'8e8ec658-c7b0-4243-bdf8-6f7f2952c0d0': {'name': 'entity_two'},
|
||||||
'\xe3\x82\xbdtest': {'name': u'\u30bdtest'},
|
'\xe3\x82\xbdtest': {'name': '\u30bdtest'},
|
||||||
'5678': {'name': '9876'}
|
'5678': {'name': '9876'}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
copyright = u'2015, Keystone Developers'
|
copyright = '2015, Keystone Developers'
|
||||||
|
|
||||||
# Release notes are version independent.
|
# Release notes are version independent.
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
@ -189,8 +189,8 @@ htmlhelp_basename = 'KeystoneClientReleaseNotesdoc'
|
|||||||
# author, documentclass [howto, manual, or own class]).
|
# author, documentclass [howto, manual, or own class]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'keystoneclientReleaseNotes.tex',
|
('index', 'keystoneclientReleaseNotes.tex',
|
||||||
u'keystoneclient Release Notes Documentation',
|
'keystoneclient Release Notes Documentation',
|
||||||
u'Keystone Developers', 'manual'),
|
'Keystone Developers', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
@ -220,8 +220,8 @@ latex_documents = [
|
|||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
('index', 'keystoneclientreleasenotes',
|
('index', 'keystoneclientreleasenotes',
|
||||||
u'keystoneclient Release Notes Documentation',
|
'keystoneclient Release Notes Documentation',
|
||||||
[u'Keystone Developers'], 1)
|
['Keystone Developers'], 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
# If true, show URL addresses after external links.
|
||||||
@ -235,8 +235,8 @@ man_pages = [
|
|||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
('index', 'keystoneclientReleaseNotes',
|
('index', 'keystoneclientReleaseNotes',
|
||||||
u'keystoneclient Release Notes Documentation',
|
'keystoneclient Release Notes Documentation',
|
||||||
u'Keystone Developers', 'keystoneclientReleaseNotes',
|
'Keystone Developers', 'keystoneclientReleaseNotes',
|
||||||
'Python bindings for the OpenStack Identity service.',
|
'Python bindings for the OpenStack Identity service.',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user