Upgrade to latest hacking - v6
Includes a single minor change to comply with latest flake8. Change-Id: Ifda4810940f5c4d963946939f103f65175cc7868
This commit is contained in:
parent
7a00c0d674
commit
853bedce5c
@ -149,7 +149,7 @@ def count_mbr_partitions(device):
|
||||
output = output.replace('<', '').replace('>', '')
|
||||
partitions = [int(s) for s in output.split() if s.isdigit()]
|
||||
|
||||
return(sum(i < 5 for i in partitions), sum(i > 4 for i in partitions))
|
||||
return (sum(i < 5 for i in partitions), sum(i > 4 for i in partitions))
|
||||
|
||||
|
||||
def get_disk_identifier(dev):
|
||||
|
Loading…
x
Reference in New Issue
Block a user