def putClubSeasons(self, clubDbID, seasons): if len(seasons): self._cache[clubDbID] = cache = {} for sID, d in seasons: cache[sID] = ClubDossier(dossiers2.getClubDossierDescr(d), clubDbID) return self._cache[clubDbID]
def unpack(dossierCD, clubDbID): return ClubDossier(dossiers2.getClubDossierDescr(dossierCD), clubDbID)