diff options
author | Azat Khuzhin <azat@libevent.org> | 2020-03-28 15:58:57 +0300 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2020-03-28 15:58:57 +0300 |
commit | 7cdf75ca26f0156a55b128e8b63b3e7955f00f7e (patch) | |
tree | bd3f05685fa57873d3e19a251f033996045d7c95 /event_rpcgen.py | |
parent | 121fe013721b4709719471fea73c2a4de3d4f101 (diff) | |
download | libevent-7cdf75ca26f0156a55b128e8b63b3e7955f00f7e.tar.gz |
event_rpcgen.py: fix attribute-defined-outside-init
Diffstat (limited to 'event_rpcgen.py')
-rwxr-xr-x | event_rpcgen.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |