Fix E101: mix of spaces and tabs
This commit is contained in:
parent
a0cbb31d3e
commit
3b3c1c1d70
|
|
@ -413,8 +413,8 @@ class Partition():
|
||||||
"""
|
"""
|
||||||
The support for a filesystem (this partition) is tested by calling
|
The support for a filesystem (this partition) is tested by calling
|
||||||
partition.format() with a path set to '/dev/null' which returns two exceptions:
|
partition.format() with a path set to '/dev/null' which returns two exceptions:
|
||||||
1. SysCallError saying that /dev/null is not formattable - but the filesystem is supported
|
1. SysCallError saying that /dev/null is not formattable - but the filesystem is supported
|
||||||
2. UnknownFilesystemFormat that indicates that we don't support the given filesystem type
|
2. UnknownFilesystemFormat that indicates that we don't support the given filesystem type
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
self.format(self.filesystem, '/dev/null', log_formatting=False, allow_formatting=True)
|
self.format(self.filesystem, '/dev/null', log_formatting=False, allow_formatting=True)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue