Lint: E305 expected 2 blank lines after class or function definition, found X
This commit is contained in:
@ -73,6 +73,7 @@ def verifyOSDBlock(zk_conn, node, device):
|
||||
return osd
|
||||
return None
|
||||
|
||||
|
||||
# Format byte sizes to/from human-readable units
|
||||
byte_unit_matrix = {
|
||||
'B': 1,
|
||||
@ -106,6 +107,7 @@ def format_bytes_fromhuman(datahuman):
|
||||
databytes = datasize * byte_unit_matrix[dataunit]
|
||||
return '{}B'.format(databytes)
|
||||
|
||||
|
||||
# Format ops sizes to/from human-readable units
|
||||
ops_unit_matrix = {
|
||||
'': 1,
|
||||
|
Reference in New Issue
Block a user