Skip to content

Commit adc14d2

Browse files
committed
Add blank lines to fix pydocstyle checks
Signed-off-by: Samuel Verschelde <[email protected]>
1 parent a23f4b3 commit adc14d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/host.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,13 +543,15 @@ def disks(self):
543543
def raw_disk_is_available(self, disk: str) -> bool:
544544
"""
545545
Check if a raw disk (without any identifiable filesystem or partition label) is available.
546+
546547
It suggests the disk is "raw" and likely unformatted thus available.
547548
"""
548549
return self.ssh_with_result(['blkid', '/dev/' + disk]).returncode == 2
549550

550551
def disk_is_available(self, disk: str) -> bool:
551552
"""
552553
Check if a disk is unmounted and appears available for use.
554+
553555
It may or may not contain identifiable filesystem or partition label.
554556
If there are no mountpoints, it is assumed that the disk is not in use.
555557

0 commit comments

Comments
 (0)