summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorYaron Yogev <yaronyogev@gmail.com>2017-08-03 12:15:51 +0300
committerYaron Yogev <yaronyogev@gmail.com>2017-08-03 12:15:51 +0300
commit17f4e08fd576b04363d331e5229c7c728b3759e8 (patch)
tree403c2b6478097bb082a2789d591d16d56ab8b8fa /app
parent8446af2bbe4c5c10ab0bc4a34bee2fe67914b0cc (diff)
remove unneeded debug keeping of event data
Change-Id: I591a2edf7ba9dec2912b9f42a5b6bf17542bd519 Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
Diffstat (limited to 'app')
-rwxr-xr-xapp/discover/events/listeners/default_listener.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/discover/events/listeners/default_listener.py b/app/discover/events/listeners/default_listener.py
index 8ebc6cb..54453a7 100755
--- a/app/discover/events/listeners/default_listener.py
+++ b/app/discover/events/listeners/default_listener.py
@@ -98,8 +98,6 @@ class DefaultListener(ListenerBase, ConsumerMixin):
# or it's not intended for env listener to handle,
# leave the message in the queue unless "consume_all" flag is set
if processable and event_data["event_type"] in self.handler.handlers:
- with open("/tmp/listener.log", "a") as f:
- f.write("{}\n".format(event_data))
event_result = self.handle_event(event_data["event_type"],
event_data)
finished_timestamp = stringify_datetime(datetime.datetime.now())