Skip to content

Commit d75c737

Browse files
committed
fix code review findings
Signed-off-by: hwassman <[email protected]>
1 parent b05a5e1 commit d75c737

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

source/queryHandler/SensorConfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
zimonFile = '/opt/IBM/zimon'
3333
collectorsFile = '/opt/IBM/zimon/ZIMonCollector.cfg'
3434

35+
3536
def get_config_paths():
3637
files_to_watch = []
3738
if os.path.isfile(mmsdrfsFile):

source/watcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ def stop_watch(self):
108108
cherrypy.engine.log('Stopped custom thread %r.' % self.thread.name)
109109
self.thread = None
110110
except KeyboardInterrupt:
111-
print(f"Recived KeyboardInterrupt during stopping the thread {self.thread.name}")
111+
print(f"Recived KeyboardInterrupt during stopping the thread {self.thread.name}")

tests/test_configWatcher.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from source.watcher import ConfigWatcher
44
from source.bridgeLogger import configureLogging
55
from nose2.tools.decorators import with_setup
6-
from threading import Thread
76

87

98
def my_setup():

0 commit comments

Comments
 (0)