Add debugging for Python 3.3

This commit is contained in:
hugovk 2014-03-02 12:13:50 +02:00
parent 7887242e84
commit 892ccd3585

View file

@ -3045,7 +3045,8 @@ class User(_BaseObject):
seq = [] seq = []
for track in _collect_nodes(limit, self, "user.getRecentTracks", True, params): for track in _collect_nodes(limit, self, "user.getRecentTracks", True, params):
print track.toprettyxml() print type(track)
print track
if track.hasAttribute('nowplaying'): if track.hasAttribute('nowplaying'):
continue #to prevent the now playing track from sneaking in here continue #to prevent the now playing track from sneaking in here