+ absSkipFilePath = os.path.abspath(os.path.expanduser(skipfile))
+ if os.path.exists(absSkipFilePath) :
+ skipFile = open(absSkipFilePath, 'r+')
+ skip = filter(None, skipFile.readlines())
+ _skipDict = dict([(path.strip(), True) for path in skip])
+ del skip
+ else :
+ skipFile = open(absSkipFilePath, 'w')
+ _skipDict = {}
+
+ toSkip = _skipDict.has_key
+