def __SkipRubish(self, aFilePathList):
"""
Edit this method to select the private file that will not be backed up.
"""
myFilteredList = []
for myFilePath in aFilePathList:
myLowerFilePath = string.lower(string.strip(myFilePath))
if myLowerFilePath[-4:]=='.obj':
continue
if myLowerFilePath[-5:]=='.class':
continue
if myLowerFilePath[-1:]=='~':
continue
myFilteredList.append(myFilePath)
return myFilteredList
评论列表
文章目录