Fix pep8 errors

This commit is contained in:
Mark Goddard 2017-08-25 18:00:12 +00:00
parent 6580c08140
commit 10de93dc61
2 changed files with 6 additions and 8 deletions

View File

@ -13,7 +13,6 @@
# under the License. # under the License.
import json import json
import platform
import sys import sys
from cliff.command import Command from cliff.command import Command
@ -399,7 +398,8 @@ class OvercloudIntrospectionDataSave(KayobeAnsibleMixin, VaultMixin, Command):
if parsed_args.output_format: if parsed_args.output_format:
extra_vars['output_format'] = parsed_args.output_format extra_vars['output_format'] = parsed_args.output_format
playbooks = _build_playbook_list("overcloud-introspection-data-save") playbooks = _build_playbook_list("overcloud-introspection-data-save")
self.run_kayobe_playbooks(parsed_args, playbooks, extra_vars=extra_vars) self.run_kayobe_playbooks(parsed_args, playbooks,
extra_vars=extra_vars)
class OvercloudBIOSRAIDConfigure(KayobeAnsibleMixin, VaultMixin, Command): class OvercloudBIOSRAIDConfigure(KayobeAnsibleMixin, VaultMixin, Command):

View File

@ -71,9 +71,7 @@ class TestCase(unittest.TestCase):
"-lt", "-lt",
] ]
parsed_args = parser.parse_args(args) parsed_args = parser.parse_args(args)
ansible.run_playbooks( ansible.run_playbooks(parsed_args, ["playbook1.yml", "playbook2.yml"],
parsed_args,
["playbook1.yml", "playbook2.yml"],
verbose_level=2) verbose_level=2)
expected_cmd = [ expected_cmd = [
"ansible-playbook", "ansible-playbook",