From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 0/2] Make useradd-staticids.bbclass Python 3 compatible
Date: Fri, 10 Jun 2016 17:46:09 +0200 [thread overview]
Message-ID: <cover.1465573515.git.pkj@axis.com> (raw)
Avoid warnings with Python 3 due to files that are not closed in
useradd-staticids.bbclass.
PATCHv2: Also avoid a FutureWarning about split() requiring a
non-empty pattern. It occured for every recipe that inherited useradd
(with useradd-staticids enabled), but with no context at all. It also
did not end up in the tmp/log/cooker log...
//Peter
The following changes since commit 40e789d1fee7f0df2d23230fff38325119ad2935:
bitbake: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF (2016-06-09 18:00:58 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib pkj/useradd-staticids-py3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/useradd-staticids-py3
Peter Kjellerstedt (2):
useradd-staticids.bbclass: Make sure opened files are closed
useradd-staticids.bbclass: Avoid FutureWarning about split()
meta/classes/useradd-staticids.bbclass | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
--
2.8.3
next reply other threads:[~2016-06-10 15:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 15:46 Peter Kjellerstedt [this message]
2016-06-10 15:46 ` [PATCHv2 1/2] useradd-staticids.bbclass: Make sure opened files are closed Peter Kjellerstedt
2016-06-10 15:46 ` [PATCHv2 2/2] useradd-staticids.bbclass: Avoid FutureWarning about split() Peter Kjellerstedt
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=cover.1465573515.git.pkj@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/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