checking in before i restructure some stuff

This commit is contained in:
brent s
2019-10-29 22:37:36 -04:00
parent af2cd9dd0e
commit f96c815d8d
7 changed files with 110 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ import blkinfo
import parted # https://www.gnu.org/software/parted/api/index.html
import psutil
##
from aif.aif_util import xmlBool
from aif.utils import xmlBool
PARTED_FSTYPES = sorted(list(dict(vars(parted.filesystem))['fileSystemType'].keys()))
@@ -148,6 +148,9 @@ class Partition(object):
_pedpart = self.partition.getPedPartition()
_pedpart.set_name(self.xml.attrib.get('name'))
def detect(self):
pass
class Disk(object):
def __init__(self, disk_xml):