Lint: E303 too many blank lines (2)
This commit is contained in:
parent
cb2defbde9
commit
4b47a2424c
|
@ -132,7 +132,6 @@ def run_benchmark(self, pool):
|
|||
print('FATAL - failed to connect to Zookeeper')
|
||||
raise Exception
|
||||
|
||||
|
||||
print("Storing running status for job '{}' in database".format(cur_time))
|
||||
try:
|
||||
query = "INSERT INTO storage_benchmarks (job, result) VALUES (%s, %s);"
|
||||
|
|
|
@ -1395,7 +1395,6 @@ def format_list_benchmark(config, benchmark_information):
|
|||
rand_benchmark_bandwidth = "{} / {}".format(benchmark_bandwidth['rand_read_4K'], benchmark_bandwidth['rand_write_4K'])
|
||||
rand_benchmark_iops = "{} / {}".format(benchmark_iops['rand_read_4K'], benchmark_iops['rand_write_4K'])
|
||||
|
||||
|
||||
benchmark_list_output.append('{bold}\
|
||||
{benchmark_job: <{benchmark_job_length}} \
|
||||
{seq_benchmark_bandwidth: <{seq_benchmark_bandwidth_length}} \
|
||||
|
@ -1487,8 +1486,6 @@ def format_info_benchmark(config, benchmark_information):
|
|||
if _element_length > cpuutil_column_length:
|
||||
cpuutil_column_length = _element_length
|
||||
|
||||
|
||||
|
||||
for test in benchmark_details:
|
||||
ainformation.append('')
|
||||
|
||||
|
|
|
@ -694,7 +694,6 @@ def format_info(network_information, long_output):
|
|||
for rule in formatted_firewall_rules:
|
||||
ainformation.append(rule)
|
||||
|
||||
|
||||
# Join it all together
|
||||
click.echo('\n'.join(ainformation))
|
||||
|
||||
|
|
|
@ -346,7 +346,6 @@ def format_list(node_list):
|
|||
if _mem_prov_length > mem_prov_length:
|
||||
mem_prov_length = _mem_prov_length
|
||||
|
||||
|
||||
# Format the string (header)
|
||||
node_list_output.append(
|
||||
'{bold}{node_name: <{node_name_length}} \
|
||||
|
|
|
@ -130,7 +130,6 @@ class PowerDNSInstance(object):
|
|||
state='o'
|
||||
)
|
||||
|
||||
|
||||
def stop(self):
|
||||
if self.dns_server_daemon:
|
||||
self.logger.out(
|
||||
|
|
|
@ -732,7 +732,6 @@ class VMInstance(object):
|
|||
else:
|
||||
self.terminate_vm()
|
||||
|
||||
|
||||
# This function is a wrapper for libvirt.lookupByUUID which fixes some problems
|
||||
# 1. Takes a text UUID and handles converting it to bytes
|
||||
# 2. Try's it and returns a sensible value if not
|
||||
|
|
Loading…
Reference in New Issue