minor changes

This commit is contained in:
Abhinav Sarkar 2009-03-05 04:32:57 +00:00
parent b066f934b9
commit 7484aa02ef
5 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
"""A python interface to the last.fm web services API"""
__author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
__version__ = "0.2"
@ -22,6 +23,7 @@ from lastfm.tasteometer import Tasteometer
from lastfm.track import Track
from lastfm.user import User
from lastfm.venue import Venue
from lastfm.shout import Shout
__all__ = ['LastfmError', 'Api', 'Album', 'Artist', 'Event',
'Location', 'Country', 'Group', 'Playlist', 'Tag',

View File

@ -81,5 +81,5 @@ error_map = {
12: SubscribersOnlyError,
13: InvalidMethodSignatureError,
14: TokenNotAuthorizedError,
15: TokenExpiredError
}
15: TokenExpiredError,
}

View File

@ -459,7 +459,7 @@ class Country(LastfmBase, Cacheable):
'YT': 'Mayotte',
'ZA': 'South Africa',
'ZM': 'Zambia',
'ZW': 'Zimbabwe'}
'ZW': 'Zimbabwe'}
def init(self,
api,
name = None):

View File

@ -8,7 +8,7 @@ from lastfm.base import LastfmBase
from lastfm.mixins import Cacheable
class Shout(LastfmBase, Cacheable):
""""A class representing a shout."""
"""A class representing a shout."""
def init(self,
body = None,

View File

@ -9,7 +9,7 @@ from lastfm.mixins import Cacheable, Searchable
from lastfm.lazylist import lazylist
class Tag(LastfmBase, Cacheable, Searchable):
""""A class representing a tag."""
"""A class representing a tag."""
def init(self,
api,
name = None,