Fix pylint warning about unused paramater
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
730733fcc9
commit
e63d64e77d
@ -88,7 +88,7 @@ def interruption():
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
def _atexit_handler(loop):
|
def _atexit_handler():
|
||||||
"""
|
"""
|
||||||
Close event loop and terminate the whole process group
|
Close event loop and terminate the whole process group
|
||||||
"""
|
"""
|
||||||
@ -136,7 +136,7 @@ def kas(argv):
|
|||||||
|
|
||||||
for sig in (signal.SIGINT, signal.SIGTERM):
|
for sig in (signal.SIGINT, signal.SIGTERM):
|
||||||
loop.add_signal_handler(sig, interruption)
|
loop.add_signal_handler(sig, interruption)
|
||||||
atexit.register(_atexit_handler, loop=loop)
|
atexit.register(_atexit_handler)
|
||||||
|
|
||||||
for plugin in getattr(kasplugin, 'plugins', []):
|
for plugin in getattr(kasplugin, 'plugins', []):
|
||||||
if plugin().run(args):
|
if plugin().run(args):
|
||||||
|
Loading…
Reference in New Issue
Block a user