Beispiel #1
0
 def checkFileValidity(self):
     """It reads the xml file and checks errors"""
     self.correctData = yaliReadPiks.kahyaData()
     self.errorList = self.checkAllOptions()
     if len(self.errorList) == 0:
         return True
     return self.errorList
Beispiel #2
0
 def checkFileValidity(self):
     """It reads the xml file and checks errors"""
     self.correctData = yaliReadPiks.kahyaData()
     self.errorList = self.checkAllOptions()
     if (len(self.errorList) == 0):
         return True
     return self.errorList
Beispiel #3
0
 def __init__(self):
     self.fileSystems = ["swap", "ext3", "ntfs", "reiserf", "xfs"]
     self.fileSystems2 = ["ext3", "xfs"]
     self.defaultGroups = ["audio", "dialout", "disk", "pnp", "pnpadmin", "power", "removable", "users", "video"]
     self.errorList = []
     self.RatioList = []
     self.correctData = yaliReadPiks.kahyaData()
     self.total = 0
Beispiel #4
0
 def __init__(self):
     self.fileSystems = ["swap", "ext4", "ext3", "ntfs", "reiserfs", "xfs"]
     self.fileSystems2 = ["ext4", "ext3", "xfs"]
     self.defaultGroups = [
         "audio", "dialout", "disk", "pnp", "power", "users", "video", "lp",
         "lpadmin", "cdrom", "floppy"
     ]
     self.errorList = []
     self.RatioList = []
     self.correctData = yaliReadPiks.kahyaData()
     self.total = 0