All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] scanpypi: don't pass any arguments to main()
Date: Thu, 20 Jul 2017 22:28:39 +0200	[thread overview]
Message-ID: <20170720222839.55865d87@windsurf> (raw)
In-Reply-To: <20170720052638.32122-1-alexey.roslyakov@gmail.com>

Hello,

On Thu, 20 Jul 2017 12:26:37 +0700, Alexey Roslyakov wrote:
> 'if __name__ == "__main__"' idiom typically calls main function that
> doesn't take any arguments in most cases. We shouldn't pass any tuple to
> it.
> I've tested the script with python-idna-2.5 and now it works with this
> little change.
> 
> Signed-off-by: Alexey Roslyakov <alexey.roslyakov@gmail.com>
> ---
>  utils/scanpypi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Both patches applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      parent reply	other threads:[~2017-07-20 20:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-20  5:26 [Buildroot] [PATCH 1/2] scanpypi: don't pass any arguments to main() Alexey Roslyakov
2017-07-20  5:26 ` [Buildroot] [PATCH 2/2] scanpypi: include LICENSE.RST in the list of supported license files Alexey Roslyakov
2017-07-20  5:51   ` Yegor Yefremov
2017-07-20  5:49 ` [Buildroot] [PATCH 1/2] scanpypi: don't pass any arguments to main() Yegor Yefremov
2017-07-20 20:28 ` Thomas Petazzoni [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=20170720222839.55865d87@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 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.