def find(self, path, all=False):
        """
        Looks for files in PIPELINE.STYLESHEETS and PIPELINE.JAVASCRIPT
        """
        matches = []
        for elem in chain(settings.STYLESHEETS.values(), settings.JAVASCRIPT.values()):
            if normpath(elem['output_filename']) == normpath(path):
                match = safe_join(settings.PIPELINE_ROOT, path)
                if not all:
                    return match
                matches.append(match)
        return matches
def find ( self , path , all = False ) : matches = [ ] for elem in chain ( settings . STYLESHEETS . values ( ) , settings . JAVASCRIPT . values ( ) ) : if normpath ( elem [ 'output_filename' ] ) == normpath ( path ) : match = safe_join ( settings . PIPELINE_ROOT , path ) if not all : return match matches . append ( match ) return matches
Looks for files in PIPELINE.STYLESHEETS and PIPELINE.JAVASCRIPT