From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: claudius.heine.ext@siemens.com, isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: Re: [PATCH] isar-bootstrap: fix ignore empty line in source list
Date: Fri, 24 May 2019 15:07:55 +0200 [thread overview]
Message-ID: <d094032b-be80-1d97-e958-ee83a668148e@ilbers.de> (raw)
In-Reply-To: <20190523093448.966-1-claudius.heine.ext@siemens.com>
On 5/23/19 11:34 AM, claudius.heine.ext@siemens.com wrote:
> From: Claudius Heine <ch@denx.de>
Applied to the 'next'.
Maxim.
> Signed-off-by: Claudius Heine <ch@denx.de>
> ---
> meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
> index b740c57..7d7c95c 100644
> --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
> +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
> @@ -76,7 +76,7 @@ def parse_aptsources_list_line(source_list_line):
>
> s = source_list_line.strip()
>
> - if s.startswith("#"):
> + if not s or s.startswith("#"):
> return None
>
> type, s = re.split("\s+", s, maxsplit=1)
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
prev parent reply other threads:[~2019-05-24 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-23 9:22 sources.list empty line results in debootstrap error Schultschik, Sven
2019-05-23 9:34 ` [PATCH] isar-bootstrap: fix ignore empty line in source list claudius.heine.ext
2019-05-24 13:07 ` Maxim Yu. Osipov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d094032b-be80-1d97-e958-ee83a668148e@ilbers.de \
--to=mosipov@ilbers.de \
--cc=ch@denx.de \
--cc=claudius.heine.ext@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox