[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<MN0PR18MB58471EF89DE9B676A3967ED6D3FCA@MN0PR18MB5847.namprd18.prod.outlook.com>
Date: Mon, 27 Oct 2025 15:04:50 +0000
From: Ratheesh Kannoth <rkannoth@...vell.com>
To: Donald Hunter <donald.hunter@...il.com>
CC: Jakub Kicinski <kuba@...nel.org>, Netdev <netdev@...r.kernel.org>
Subject: RE: [EXTERNAL] Re: ynl newbie question
From: Donald Hunter <donald.hunter@...il.com>
Subject: [EXTERNAL] Re: ynl newbie question
>
>> Below is the full output.
>>
> >#########################################
> >root@...alhost:~/linux# ./tools/net/ynl/pyynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml --do rings-get --json '{"header":{"dev-index": 18}}'
> > File "./tools/net/ynl/pyynl/cli.py", line 23
> > raise Exception(f"Schema directory {schema_dir} does not exist")
> > ^
> > SyntaxError: invalid syntax
> > #################################
>Is that an old python that doesn't have f-string support, or something?
>Can you tell us the python version you are using?
Bingo !. upgraded python and it works. Thanks a ton.
Powered by blists - more mailing lists