Skip to content

Commit abf6131

Browse files
author
David Noble
committed
Fix to GitHub issue 88, splunklib.modularinput | <done/> written even when done=False in
Confirmed 100% test pass on splunklib.modularinput with this change.
1 parent 3095c50 commit abf6131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunklib/modularinput/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def write_to(self, stream):
100100
if value is not None:
101101
ET.SubElement(event, node).text = value
102102

103-
if self.done is not None:
103+
if self.done:
104104
ET.SubElement(event, "done")
105105

106106
stream.write(ET.tostring(event))

0 commit comments

Comments
 (0)