do pep8
Change-Id: I6a840ac9d07dcae5c98a5390eee751389c58a007
This commit is contained in:
parent
b6b4a0b41b
commit
7731d0d86f
|
@ -1484,7 +1484,7 @@ class WindowsUtils(base.BaseOSUtils):
|
|||
(out, err, exit_code) = self.execute_powershell_command("wmic "
|
||||
"logicaldisk get deviceid,filesystem")
|
||||
LOG.info("Checking if drive %s has CDFS filesystem" % drive)
|
||||
if code == 0:
|
||||
if exit_code == 0:
|
||||
lines = out.decode('ascii').replace('\r\r', '').splitlines()[1:]
|
||||
for line in lines:
|
||||
drive_fs = line.split()
|
||||
|
|
Loading…
Reference in New Issue