Example #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
Example #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
Example #3
0
 def __init__(self):
     self.fileSystems=["swap","ext3","ntfs","reiserfs","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
Example #4
0
 def __init__(self):
     self.fileSystems=["swap","ext4","ext3","ntfs","reiserfs","xfs"]
     self.fileSystems2=["ext4","ext3","xfs"]
     self.defaultGroups=["audio","dialout","disk","pnp","pnpadmin","power","removable","users","video"]
     self.errorList=[]
     self.RatioList=[]
     self.correctData=yaliReadPiks.kahyaData()
     self.total=0