[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230823184603.7fda3b66@kernel.org>
Date: Wed, 23 Aug 2023 18:46:03 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Jonathan
Corbet <corbet@....net>, linux-doc@...r.kernel.org, Stanislav Fomichev
<sdf@...gle.com>, Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>,
donald.hunter@...hat.com
Subject: Re: [PATCH net-next v4 07/12] tools/net/ynl: Add support for
netlink-raw families
On Wed, 23 Aug 2023 12:41:56 +0100 Donald Hunter wrote:
> + def get_mcast_id(self, mcast_name, mcast_groups):
> + if mcast_name not in mcast_groups:
> + raise Exception(f'Multicast group "{mcast_name}" not present in the spec')
> + return mcast_groups[mcast_name].value
> +
if you repost - missing extra empty line here
> +class GenlProtocol(NetlinkProtocol):
> + def __init__(self, family_name):
Powered by blists - more mailing lists