Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: Jonathan Liu <net147@gmail.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v3] wic: ensure generated disk system identifier is non-zero
Date: Mon, 31 Jul 2017 10:59:51 +0300	[thread overview]
Message-ID: <20170731075951.GA32738@linux.intel.com> (raw)
In-Reply-To: <CANwerB1xu8rYM3q8cUaFP-kxNm7M3sBLswz7939u=6mtWkst3g@mail.gmail.com>

On Mon, Jul 31, 2017 at 06:04:47PM +1000, Jonathan Liu wrote:
> >
> > How about random.SystemRandom().randrange(1, 0xffffffff) ?
> >
> 
> random.SystemRandom().randint(1, 0xffffffff) actually
> 

This looks ok to me. Thanks.

--
Regards,
Ed


      reply	other threads:[~2017-07-31  8:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 14:45 [PATCH v3] wic: ensure generated disk system identifier is non-zero Jonathan Liu
2017-07-30 10:02 ` Ed Bartosh
2017-07-30 10:37   ` Jonathan Liu
2017-07-31  7:28     ` Ed Bartosh
2017-07-31  7:58       ` Jonathan Liu
2017-07-31  8:04         ` Jonathan Liu
2017-07-31  7:59           ` Ed Bartosh [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=20170731075951.GA32738@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=net147@gmail.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