Fix print usage in test helper script

This commit is contained in:
Bruno Cauet 2015-01-19 22:08:04 +01:00
parent 2dab8e5fd6
commit 454da9dc7b

View file

@ -43,9 +43,9 @@ def main(argv=None):
""" """
if argv is None: if argv is None:
argv = sys.argv argv = sys.argv
print 'Fetching samples from:' print('Fetching samples from:')
for s in test_lyrics.GOOGLE_SOURCES + test_lyrics.DEFAULT_SOURCES: for s in test_lyrics.GOOGLE_SOURCES + test_lyrics.DEFAULT_SOURCES:
print s['url'] print(s['url'])
url = s['url'] + s['path'] url = s['url'] + s['path']
fn = test_lyrics.url_to_filename(url) fn = test_lyrics.url_to_filename(url)
if not os.path.isfile(fn): if not os.path.isfile(fn):