From 6abd1327a911243d11fe16be23a8154bf46005f1 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 3 Jun 2012 04:29:48 +0200 Subject: [PATCH] Remove some unnecessary print statements --- jamendoparser.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/jamendoparser.py b/jamendoparser.py index ed671ee..7b0c112 100644 --- a/jamendoparser.py +++ b/jamendoparser.py @@ -104,8 +104,6 @@ for event, element in iterparse(xml, tag="artist"): trackgenre = get_attribute(track, 'id3genre') tracklicense = get_attribute(track, 'license') - print " [%3d] %s (ID: %s)" % (int(tracknumber), trackname, trackid) - alltags = [] taglist = track.find('Tags') @@ -115,10 +113,5 @@ for event, element in iterparse(xml, tag="artist"): tagid = get_attribute(tag, 'idstr') tagweight = get_attribute(tag, 'weight') alltags.append("%s (weight %s)" % (tagid, tagweight)) - - print " %s" % ' '.join(alltags) - else: - print " No tags." - - print "" + element.clear()