(self, path, search_extentions)
return files
Return file list to be adjusted or checked

        path - is the project base path
        search_extentions - list of strings with files extension to search recurcivly
Return file list to be adjusted or checked
Return file list to be adjusted or checked
def _get_file_list(self, path, search_extentions):
        """ Return file list to be adjusted or checked

        path - is the project base path
        search_extentions - list of strings with files extension to search recurcivly
        """
        files = []
        exluded_directories_full_path = [os.path.join(path, excluded_dir)
                                         for excluded_dir in self._project_directory_excluded]

        # r=root, d=directories, f = files
        for r, d, f in os.walk(path):
            # match exclude pattern in current directory
            found = False
            for excluded_dir in exluded_directories_full_path:
                if r.find(excluded_dir) >= 0:
                    found = True

            if found:
                continue

            for file in f:
                filename, extention = os.path.splitext(file)
                if extention in search_extentions:
                    files.append(os.path.join(r, file))

        return files
def _get_file_list ( self , path , search_extentions ) : files = [ ] exluded_directories_full_path = [ os . path . join ( path , excluded_dir ) for excluded_dir in self . _project_directory_excluded ] # r=root, d=directories, f = files for r , d , f in os . walk ( path ) : # match exclude pattern in current directory found = False for excluded_dir in exluded_directories_full_path : if r . find ( excluded_dir ) >= 0 : found = True if found : continue for file in f : filename , extention = os . path . splitext ( file ) if extention in search_extentions : files . append ( os . path . join ( r , file ) ) return files