fix style

This commit is contained in:
yangdsh 2020-05-25 05:36:50 +00:00 committed by Dana Van Aken
parent 8bc1d68a26
commit a0089cccdf
2 changed files with 3 additions and 3 deletions

View File

@ -1078,7 +1078,7 @@ def integration_tests():
total_n = 30
first_n = 5
last_n = 5
last_n = 10
average = 0
simulate_db_run(1, {'effective_cache_size': '0kB'})
for i in range(2, total_n + 2):

View File

@ -485,8 +485,8 @@ def train_ddpg(train_ddpg_input):
objective = metric_data[target_obj_idx]
base_objective = base_metric_data[target_obj_idx]
prev_objective = prev_metric_data[target_obj_idx]
LOG.info('Target objective value: current: %s, base: %s, previous: %s'.\
format(objective, base_objective, prev_objective))
LOG.info('Target objective value: current: %s, base: %s, previous: %s',
objective, base_objective, prev_objective)
# Clean metric data
views = VIEWS_FOR_DDPG.get(dbms.type, None)