summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaron Yogev <yaronyogev@gmail.com>2017-08-03 09:18:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-03 09:18:26 +0000
commit3dc0687336e398019f0f8e8d7b748ce9371a8cca (patch)
tree403c2b6478097bb082a2789d591d16d56ab8b8fa
parent0c03ad4db62589389ab2c0993a99685989fb12f0 (diff)
parent17f4e08fd576b04363d331e5229c7c728b3759e8 (diff)
Merge "remove unneeded debug keeping of event data"
-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())