Comment 2 for bug 1689934

Revision history for this message
maarts (maarts) wrote :

a little bit better...

def _authors_match(self, song, authors):

        author_list = []
        for author in song.authors:
     author_list.append(author.display_name)
            if author.display_name in authors:
                author_list.remove(author.display_name)
            else:
                return False
        # List must be empty at the end
        return not author_list