From b69b6b92a7fc883a4f869765b276dd624eb8d3c1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 30 Jan 2018 14:01:08 +0000 Subject: [PATCH] downloader: Skip commented lines Signed-off-by: Michael Tremer --- tools/downloader.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/downloader.py b/tools/downloader.py index d6d2744..47e2f34 100644 --- a/tools/downloader.py +++ b/tools/downloader.py @@ -98,6 +98,10 @@ class DownloaderContext(object): # Strip line-endings line = line.rstrip() + # Skip commented lines + if line.startswith("#"): + continue + if line: block.append(line) continue -- 2.39.2