remove unicode prefix from code

Change-Id: Id83c2e9b0cb06f2aae051ba95fa7d0e7545f848e
This commit is contained in:
niuke 2022-08-12 21:56:41 +08:00
parent 2e16aa4e57
commit 3c801fe8ca
3 changed files with 17 additions and 17 deletions

View File

@ -64,9 +64,9 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Heat Agent Release Note'
copyright = u'2017, Heat Developers'
author = u'Heat Developers'
project = 'Heat Agent Release Note'
copyright = '2017, Heat Developers'
author = 'Heat Developers'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -148,8 +148,8 @@ latex_elements = {
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'HeatAgentReleaseNote.tex',
u'Heat Agent Release Note Documentation',
u'Heat Developers', 'manual'),
'Heat Agent Release Note Documentation',
'Heat Developers', 'manual'),
]
@ -159,7 +159,7 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'heatagentreleasenote',
u'Heat Agent Release Note Documentation',
'Heat Agent Release Note Documentation',
[author], 1)
]
@ -171,7 +171,7 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'HeatAgentReleaseNote',
u'Heat Agent Release Note Documentation',
'Heat Agent Release Note Documentation',
author, 'HeatAgentReleaseNote', 'One line description of project.',
'Miscellaneous'),
]

View File

@ -100,8 +100,8 @@ class HookChefTest(common.RunScriptTest):
hook_chef.main(json.dumps(data))
exp_node = {
'barval': {'foo': 'biff'},
'fooval': {u'bar': u'baz'},
'run_list': [u'recipe[apache]']
'fooval': {'bar': 'baz'},
'run_list': ['recipe[apache]']
}
exp_cfg = ("log_level :debug\n"
"log_location STDOUT\n"
@ -197,8 +197,8 @@ class HookChefTest(common.RunScriptTest):
hook_chef.main(json.dumps(data))
exp_node = {
'barval': {'foo': 'biff'},
'fooval': {u'bar': u'baz'},
'run_list': [u'recipe[apache]']
'fooval': {'bar': 'baz'},
'run_list': ['recipe[apache]']
}
exp_cfg = ("log_level :debug\n"
"log_location STDOUT\n"

View File

@ -26,12 +26,12 @@ class HookDockerComposeTest(common.RunScriptTest):
"inputs": [
{
"name": "env_files",
"value": u'[ { "file_name": "./common.env", '
u'"content": "xxxxx" }, '
u'{ "file_name": "./test.env", '
u'"content": "yyyy" }, '
u'{ "file_name": "./test1.env", '
u'"content": "zzz" } ]'
"value": '[ { "file_name": "./common.env", '
'"content": "xxxxx" }, '
'{ "file_name": "./test.env", '
'"content": "yyyy" }, '
'{ "file_name": "./test1.env", '
'"content": "zzz" } ]'
}
],
"config": {