From 469d289a971887ae3b389e43970202aad6460c53 Mon Sep 17 00:00:00 2001
From: lakshyacis <lakshya.p@cisinlabs.com>
Date: Thu, 29 Aug 2019 19:46:03 +0530
Subject: [PATCH] Announcethread Pylint Fixes

---
 src/network/announcethread.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/network/announcethread.py b/src/network/announcethread.py
index b71ab496..59fad128 100644
--- a/src/network/announcethread.py
+++ b/src/network/announcethread.py
@@ -1,3 +1,7 @@
+"""
+src/network/announcethread.py
+=================================
+"""
 import time
 
 from bmconfigparser import BMConfigParser
@@ -10,6 +14,7 @@ import state
 
 
 class AnnounceThread(StoppableThread):
+    """A thread to manage regular announcing of this node"""
     def __init__(self):
         super(AnnounceThread, self).__init__(name="Announcer")
         logger.info("init announce thread")
@@ -24,7 +29,9 @@ class AnnounceThread(StoppableThread):
             if processed == 0:
                 self.stop.wait(10)
 
-    def announceSelf(self):
+    @staticmethod
+    def announceSelf():
+        """Announce our presence"""
         for connection in BMConnectionPool().udpSockets.values():
             if not connection.announcing:
                 continue