Ver Fonte

Fix Windows mount_()

After changing the base class, forgot to also change the Windows
mount_os() return values
Gabriel Adrian Samfira há 7 anos atrás
pai
commit
870f68d7dc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      coriolis/osmorphing/osmount/windows.py

+ 1 - 1
coriolis/osmorphing/osmount/windows.py

@@ -192,7 +192,7 @@ class WindowsMountTools(base.BaseOSMountTools):
 
 
         for fs_root in [r for r in fs_roots if not r[:-1] == system_drive]:
         for fs_root in [r for r in fs_roots if not r[:-1] == system_drive]:
             if self._conn.test_path("%sWindows\\System32" % fs_root):
             if self._conn.test_path("%sWindows\\System32" % fs_root):
-                return fs_root, [], None
+                return fs_root, None
 
 
         raise exception.OperatingSystemNotFound("root partition not found")
         raise exception.OperatingSystemNotFound("root partition not found")