Skip to content
Permalink
Browse files

Fixup pep8 errors in populate_sample_events

  • Loading branch information...
pwnbus committed Sep 6, 2019
1 parent 421d465 commit c4a8c58ffcda8d3050433463c9c9197ce27f52c7
Showing with 2 additions and 0 deletions.
  1. +2 −0 scripts/demo/populate_sample_events.py
@@ -22,6 +22,7 @@ def handle_event(event):
event['tags'] += 'demodata'
return event


def handle_events(sample_events, num_picked, es_client):
selected_events = []
if num_picked == 0:
@@ -34,6 +35,7 @@ def handle_events(sample_events, num_picked, es_client):
event = handle_event(event)
es_client.save_event(event)


def run(num_rounds, num_events, sleep_time, es_client):
sample_events_dir = os.path.join(os.path.dirname(__file__), "sample_events")
sample_event_files = glob.glob(sample_events_dir + '/*')

0 comments on commit c4a8c58

Please sign in to comment.
You can’t perform that action at this time.