From 7cdf75ca26f0156a55b128e8b63b3e7955f00f7e Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sat, 28 Mar 2020 15:58:57 +0300 Subject: [PATCH] event_rpcgen.py: fix attribute-defined-outside-init --- event_rpcgen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/event_rpcgen.py b/event_rpcgen.py index 6b8478f0..1d8bfe32 100755 --- a/event_rpcgen.py +++ b/event_rpcgen.py @@ -1186,6 +1186,8 @@ class EntryVarBytes(Entry): class EntryArray(Entry): + _index = None + def __init__(self, entry): # Init base class super(EntryArray, self).__init__(entry._type, entry._name, entry._tag) -- 2.50.1