All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] Make useradd-staticids.bbclass Python 3 compatible
@ 2016-06-10 15:46 Peter Kjellerstedt
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Kjellerstedt @ 2016-06-10 15:46 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-10 15:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 15:46 [PATCHv2 0/2] Make useradd-staticids.bbclass Python 3 compatible Peter Kjellerstedt
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.