(self, name)
return False
Check the file against our given list of extensions
Check the file against our given list of extensions
Check the file against our given list of extensions
def _checkExtension(self, name):
        """Check the file against our given list of extensions"""
        for ext in self.extensions:
            if name.endswith(ext):
                return True
        return False
def _checkExtension ( self , name ) : for ext in self . extensions : if name . endswith ( ext ) : return True return False