diff options
author | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2018-01-09 13:02:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-09 13:02:33 +0000 |
commit | 9fd701278bf7d8c5b9451491bcb1a92580adc780 (patch) | |
tree | 885287d68762c5e755f082c88780b45e056dcc57 /doctor_tests/installer/common/vitrage.py | |
parent | d767217e4ed267c585aa94fbbd3001ec0d59de8c (diff) | |
parent | 754b94bba6df6e7aafd5f1ffb8432a40cb815649 (diff) |
Merge "support pep8 check"
Diffstat (limited to 'doctor_tests/installer/common/vitrage.py')
-rw-r--r-- | doctor_tests/installer/common/vitrage.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doctor_tests/installer/common/vitrage.py b/doctor_tests/installer/common/vitrage.py index 9ea32271..30a73f5d 100644 --- a/doctor_tests/installer/common/vitrage.py +++ b/doctor_tests/installer/common/vitrage.py @@ -9,7 +9,8 @@ import os -vitrage_template_file = '/etc/vitrage/templates/vitrage_host_down_scenarios.yaml' +vitrage_template_file = \ + '/etc/vitrage/templates/vitrage_host_down_scenarios.yaml' template = """ metadata: @@ -86,13 +87,15 @@ scenarios: action_type: mark_down action_target: target: instance -""" +""" # noqa def set_vitrage_host_down_template(): if os.path.isfile(vitrage_template_file): - print('Vitrage host_down template file: %s already exists.' % vitrage_template_file) + print('Vitrage host_down template file: %s already exists.' + % vitrage_template_file) else: - print('Create Vitrage host_down template file:%s.' % vitrage_template_file) + print('Create Vitrage host_down template file:%s.' + % vitrage_template_file) with open(vitrage_template_file, 'w') as file: file.write(template) |