nomsg
This commit is contained in:
parent
fbe72ac182
commit
a131d73735
|
@ -1,9 +1,12 @@
|
|||
0.2.15:
|
||||
0.2.16
|
||||
* All the getTopTags and getTopTagsWithCounts return an empty sequence if failed instead of None.
|
||||
|
||||
0.2.15
|
||||
* API Breakage, changed the design of Asynchronizer.async_call.
|
||||
* Added: Artist.getTopTagsWithCounts, Track.getTopTagsWithCounts and User.getTopTagsWithCounts.
|
||||
* Added: Artist.getTopFansWithWeights, Track.getTopFansWithWeights.
|
||||
|
||||
0.2.14:
|
||||
0.2.14
|
||||
* Changed the version numbering system.
|
||||
* Fixed Authentication and MD5 with non-ASCII characters (issue #7)
|
||||
* Created UserPlaylist class.
|
||||
|
@ -12,7 +15,7 @@
|
|||
* User.fetchPlaylist is now deprecated.
|
||||
* Created UserPlaylistCreator class.
|
||||
|
||||
0.2b13:
|
||||
0.2b13
|
||||
* fixed: User.get_friends limit parameter (issue #5)
|
||||
* changed: using hashlib module instead of deprecated md5 module.
|
||||
|
||||
|
|
14
pylast.py
14
pylast.py
|
@ -21,7 +21,7 @@
|
|||
# http://code.google.com/p/pylast/
|
||||
|
||||
__name__ = 'pyLast'
|
||||
__version__ = '0.2.15'
|
||||
__version__ = '0.2.16'
|
||||
__doc__ = 'A Python interface to the Last.fm API.'
|
||||
__author__ = 'Amr Hassan'
|
||||
__email__ = 'amr.hassan@gmail.com'
|
||||
|
@ -930,7 +930,7 @@ class Track(BaseObject, Cacheable, Taggable):
|
|||
pairs = self.getTopTagsWithCounts(limit)
|
||||
|
||||
if not pairs:
|
||||
return None
|
||||
return []
|
||||
|
||||
list = []
|
||||
for pair in pairs:
|
||||
|
@ -945,7 +945,7 @@ class Track(BaseObject, Cacheable, Taggable):
|
|||
doc = Request(self, 'track.getTopTags', self.api_key, params).execute()
|
||||
|
||||
if not doc:
|
||||
return None
|
||||
return []
|
||||
|
||||
list = []
|
||||
elements = doc.getElementsByTagName('tag')
|
||||
|
@ -1209,7 +1209,7 @@ class Artist(BaseObject, Cacheable, Taggable):
|
|||
pairs = self.getTopTagsWithCounts(limit)
|
||||
|
||||
if not pairs:
|
||||
return None
|
||||
return []
|
||||
|
||||
list = []
|
||||
for pair in pairs:
|
||||
|
@ -1224,7 +1224,7 @@ class Artist(BaseObject, Cacheable, Taggable):
|
|||
doc = Request(self, 'artist.getTopTags', self.api_key, params).execute()
|
||||
|
||||
if not doc:
|
||||
return None
|
||||
return []
|
||||
|
||||
elements = doc.getElementsByTagName('tag')
|
||||
list = []
|
||||
|
@ -2607,7 +2607,7 @@ class User(BaseObject, Cacheable):
|
|||
|
||||
pairs = self.getTopTagsWithCounts(limit)
|
||||
if not pairs:
|
||||
return None
|
||||
return []
|
||||
|
||||
list = []
|
||||
for pair in pairs:
|
||||
|
@ -2627,7 +2627,7 @@ class User(BaseObject, Cacheable):
|
|||
doc = Request(self, 'user.getTopTags', self.api_key, params).execute()
|
||||
|
||||
if not doc:
|
||||
return None
|
||||
return []
|
||||
|
||||
list = []
|
||||
elements = doc.getElementsByTagName('tag')
|
||||
|
|
Loading…
Reference in a new issue