From 7484aa02ef1c618223b5555aab3d7aa27232be6e Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Thu, 5 Mar 2009 04:32:57 +0000 Subject: [PATCH] minor changes --- lastfm/__init__.py | 2 ++ lastfm/error.py | 4 ++-- lastfm/geo.py | 2 +- lastfm/shout.py | 2 +- lastfm/tag.py | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lastfm/__init__.py b/lastfm/__init__.py index bb3ec9d..665ea50 100644 --- a/lastfm/__init__.py +++ b/lastfm/__init__.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +"""A python interface to the last.fm web services API""" __author__ = "Abhinav Sarkar " __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', diff --git a/lastfm/error.py b/lastfm/error.py index 98e49f3..1569e40 100644 --- a/lastfm/error.py +++ b/lastfm/error.py @@ -81,5 +81,5 @@ error_map = { 12: SubscribersOnlyError, 13: InvalidMethodSignatureError, 14: TokenNotAuthorizedError, - 15: TokenExpiredError - } \ No newline at end of file + 15: TokenExpiredError, +} \ No newline at end of file diff --git a/lastfm/geo.py b/lastfm/geo.py index 046d159..fd0a451 100644 --- a/lastfm/geo.py +++ b/lastfm/geo.py @@ -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): diff --git a/lastfm/shout.py b/lastfm/shout.py index bf4f3e2..49aa0bb 100644 --- a/lastfm/shout.py +++ b/lastfm/shout.py @@ -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, diff --git a/lastfm/tag.py b/lastfm/tag.py index 21ee6b3..0bfa91e 100644 --- a/lastfm/tag.py +++ b/lastfm/tag.py @@ -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,