From 41ccce06c4afe34b6f61a42cc2d6bb24fd40662d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 21 Jul 2015 16:37:32 -0400 Subject: [PATCH] contrib/rss_downloader: prettier output when the links are very long MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/rss_downloader/src/rss_downloader.nit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/rss_downloader/src/rss_downloader.nit b/contrib/rss_downloader/src/rss_downloader.nit index d512e9f..83e47c2 100644 --- a/contrib/rss_downloader/src/rss_downloader.nit +++ b/contrib/rss_downloader/src/rss_downloader.nit @@ -151,7 +151,7 @@ class Downloader if sys.verbose then print "\n# {matches.length} matching elements:" - print matches.join("\n") + print "* " + matches.join("\n* ") print "\n# Downloading..." end @@ -162,13 +162,13 @@ class Downloader # Do not download a file that is not unique according to `unique_id` if not element.is_unique_exception(config) then # We make some exceptions - if sys.verbose then print "File in log, skipping {element}" + if sys.verbose then print "- Skipping {element}" continue end end # Download element - if sys.verbose then print "Acting on {element}" + if sys.verbose then print "+ Acting on {element}" tool_config.act_on element -- 1.7.9.5