X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=blobdiff_plain;f=doctor_tests%2Finstaller%2Fcommon%2Fset_compute_config.py;h=615f1895a6b2bfb0741463c473385aab04263c2c;hp=76ac649bfc7b8fbb79540e33415a6796850825f1;hb=d8eb12f4200c21f569df5bc01d378a846b4c0db0;hpb=7822d631bc2fd2e8faf36d2b809e1e5b69f5251c diff --git a/doctor_tests/installer/common/set_compute_config.py b/doctor_tests/installer/common/set_compute_config.py index 76ac649b..615f1895 100644 --- a/doctor_tests/installer/common/set_compute_config.py +++ b/doctor_tests/installer/common/set_compute_config.py @@ -26,9 +26,9 @@ def set_cpu_allocation_ratio(): found_list = ([ca for ca in fcheck.readlines() if "cpu_allocation_ratio" in ca]) fcheck.close() + change = False + found = False if found_list and len(found_list): - change = False - found = False for car in found_list: if car.startswith('#'): continue