Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/o/m/omg-0.3.1/omg/plugins/lastfmcovers/plugin.py   omg(Download)
    def fetch(self,elements):
        for element in elements:
            if tags.get('artist') not in element.tags or tags.ALBUM not in element.tags:
                self.error.emit(self.tr("Cannot fetch a cover for an element without artist or album."))
                self.finished.emit(element)