def caa_art(album):
 if album.mb_albumid:
  (yield CAA_URL.format(mbid=album.mb_albumid))
 if album.mb_releasegroupid:
  (yield CAA_GROUP_URL.format(mbid=album.mb_releasegroupid))

def caa_art ( album ) : if album . mb_albumid : ( yield CAA_URL . format ( mbid = album . mb_albumid ) ) if album . mb_releasegroupid : ( yield CAA_GROUP_URL . format ( mbid = album . mb_releasegroupid ) )
return the cover art archive and cover art archive release group urls using album musicbrainz release id and release group id .