diff mbox series

genboardscfg.py: fix python version dependency comment

Message ID 9b9fccb0d23bf7cb7865ff96466bb03beb90ae57.1579522063.git.baruch@tkos.co.il
State Superseded
Delegated to: Tom Rini
Headers show
Series genboardscfg.py: fix python version dependency comment | expand

Commit Message

Baruch Siach Jan. 20, 2020, 12:07 p.m. UTC
genboardscfg.py requires python 3.x since commit 3bc14098d8fb
("genboardscfg.py: Convert to Python 3").

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 tools/genboardscfg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masahiro Yamada Jan. 21, 2020, 3:19 p.m. UTC | #1
Hi.

On Mon, Jan 20, 2020 at 9:08 PM Baruch Siach <baruch@tkos.co.il> wrote:
>
> genboardscfg.py requires python 3.x since commit 3bc14098d8fb
> ("genboardscfg.py: Convert to Python 3").
>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  tools/genboardscfg.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
> index 24df13e5008d..0c3c8ff403d0 100755
> --- a/tools/genboardscfg.py
> +++ b/tools/genboardscfg.py
> @@ -11,7 +11,7 @@ Run 'tools/genboardscfg.py' to create a board database.
>
>  Run 'tools/genboardscfg.py -h' for available options.
>
> -Python 2.6 or later, but not Python 3.x is necessary to run this script.
> +Python 3.x is necessary to run this script.


An exact version number ("Python 3.0" if it works)
would be more helpful.

I do not know the number, though...
Baruch Siach Jan. 21, 2020, 3:48 p.m. UTC | #2
Hi Masahiro Yamada,

On Wed, Jan 22, 2020 at 12:19:31AM +0900, Masahiro Yamada wrote:
> On Mon, Jan 20, 2020 at 9:08 PM Baruch Siach <baruch@tkos.co.il> wrote:
> >
> > genboardscfg.py requires python 3.x since commit 3bc14098d8fb
> > ("genboardscfg.py: Convert to Python 3").
> >
> > Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > ---
> >  tools/genboardscfg.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
> > index 24df13e5008d..0c3c8ff403d0 100755
> > --- a/tools/genboardscfg.py
> > +++ b/tools/genboardscfg.py
> > @@ -11,7 +11,7 @@ Run 'tools/genboardscfg.py' to create a board database.
> >
> >  Run 'tools/genboardscfg.py -h' for available options.
> >
> > -Python 2.6 or later, but not Python 3.x is necessary to run this script.
> > +Python 3.x is necessary to run this script.
> 
> 
> An exact version number ("Python 3.0" if it works)
> would be more helpful.
> 
> I do not know the number, though...

My neither. The shebang mentions python3 specifically, so I'm not sure this 
comment is all that useful. How about we remove the python version comment 
entirely?

baruch
Masahiro Yamada Jan. 22, 2020, 3:42 a.m. UTC | #3
Hi.

On Wed, Jan 22, 2020 at 12:57 AM Baruch Siach <baruch@tkos.co.il> wrote:
>
> Hi Masahiro Yamada,
>
> On Wed, Jan 22, 2020 at 12:19:31AM +0900, Masahiro Yamada wrote:
> > On Mon, Jan 20, 2020 at 9:08 PM Baruch Siach <baruch@tkos.co.il> wrote:
> > >
> > > genboardscfg.py requires python 3.x since commit 3bc14098d8fb
> > > ("genboardscfg.py: Convert to Python 3").
> > >
> > > Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> > > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > > ---
> > >  tools/genboardscfg.py | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
> > > index 24df13e5008d..0c3c8ff403d0 100755
> > > --- a/tools/genboardscfg.py
> > > +++ b/tools/genboardscfg.py
> > > @@ -11,7 +11,7 @@ Run 'tools/genboardscfg.py' to create a board database.
> > >
> > >  Run 'tools/genboardscfg.py -h' for available options.
> > >
> > > -Python 2.6 or later, but not Python 3.x is necessary to run this script.
> > > +Python 3.x is necessary to run this script.
> >
> >
> > An exact version number ("Python 3.0" if it works)
> > would be more helpful.
> >
> > I do not know the number, though...
>
> My neither. The shebang mentions python3 specifically, so I'm not sure this
> comment is all that useful. How about we remove the python version comment
> entirely?
>

Right.
It is better to remove useless information.
diff mbox series

Patch

diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index 24df13e5008d..0c3c8ff403d0 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -11,7 +11,7 @@  Run 'tools/genboardscfg.py' to create a board database.
 
 Run 'tools/genboardscfg.py -h' for available options.
 
-Python 2.6 or later, but not Python 3.x is necessary to run this script.
+Python 3.x is necessary to run this script.
 """
 
 import errno