From 4f3d8fd499ae161a198fecc6e4827e28bd7c917c Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Thu, 5 Mar 2009 12:13:53 +0000 Subject: [PATCH] added Venue to objectcache --- lastfm/objectcache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lastfm/objectcache.py b/lastfm/objectcache.py index 72b267b..bd8122c 100644 --- a/lastfm/objectcache.py +++ b/lastfm/objectcache.py @@ -15,12 +15,13 @@ from lastfm.playlist import Playlist from lastfm.tag import Tag from lastfm.track import Track from lastfm.user import User +from lastfm.venue import Venue from lastfm.weeklychart import WeeklyAlbumChart, WeeklyArtistChart, WeeklyTrackChart class ObjectCache(object): """The registry to contain all the entities""" keys = [c.__name__ for c in [Album, Artist, Event, Location, Country, Group, - Playlist, Tag, Track, User, WeeklyAlbumChart, WeeklyArtistChart, WeeklyTrackChart]] + Playlist, Tag, Track, User, Venue, WeeklyAlbumChart, WeeklyArtistChart, WeeklyTrackChart]] def __getitem__(self, name): if name not in ObjectCache.keys: