From 621138ce763eda8270d0a4f6d7209fd50ada8787 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Mon, 16 Jul 2018 17:03:17 +0300 Subject: All: run codespell on the code and fix issues. Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul --- events/eventskeygen.py | 2 +- events/src/utils.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'events') diff --git a/events/eventskeygen.py b/events/eventskeygen.py index 3badc05f359..4ccedea8f9e 100644 --- a/events/eventskeygen.py +++ b/events/eventskeygen.py @@ -22,7 +22,7 @@ gen_header_type = sys.argv[1] # When adding new keys add it to the END keys = ( # user driven events - #peer and volume managment events + #peer and volume management events "EVENT_PEER_ATTACH", "EVENT_PEER_DETACH", "EVENT_VOLUME_CREATE", diff --git a/events/src/utils.py b/events/src/utils.py index c1c0bccfe66..0ec7051ec28 100644 --- a/events/src/utils.py +++ b/events/src/utils.py @@ -408,8 +408,8 @@ def webhook_monitor(proc_queue, webhooks): class WebhookThreadPool(object): def start(self): - # Seperate process to emit messages to webhooks - # which maintains one thread per webhook. Seperate + # Separate process to emit messages to webhooks + # which maintains one thread per webhook. Separate # process is required since on reload we need to stop # and start the thread pool. In Python Threads can't be stopped # so terminate the process and start again. Note: In transit -- cgit