[Buildroot] [PATCH 1/2] scanpypi: don't pass any arguments to main()
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jul 20 20:28:39 UTC 2017
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 at 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
More information about the buildroot
mailing list