[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240429074401.78610666@kernel.org>
Date: Mon, 29 Apr 2024 07:44:01 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH net-next 3/6] selftests: net: py: extract tool logic
On Sat, 27 Apr 2024 09:51:01 -0400 Willem de Bruijn wrote:
> > +def ip(args, json=None, ns=None, host=None):
> > + if ns:
> > + args = '-netns ' + ns + " " + args
>
> Minor: inconsistent use of single and double comma strings. Maybe
> there's a reasoning that I'm just missing.
I also need to coerce ns to be a string, it may be class NetNS.
v2 coming in 3... 2... 1...
Powered by blists - more mailing lists