summaryrefslogtreecommitdiff
path: root/event_rpcgen.py
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2020-03-28 15:58:57 +0300
committerAzat Khuzhin <azat@libevent.org>2020-03-28 15:58:57 +0300
commit7cdf75ca26f0156a55b128e8b63b3e7955f00f7e (patch)
treebd3f05685fa57873d3e19a251f033996045d7c95 /event_rpcgen.py
parent121fe013721b4709719471fea73c2a4de3d4f101 (diff)
downloadlibevent-7cdf75ca26f0156a55b128e8b63b3e7955f00f7e.tar.gz
event_rpcgen.py: fix attribute-defined-outside-init
Diffstat (limited to 'event_rpcgen.py')
-rwxr-xr-xevent_rpcgen.py2
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)