mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
*: pylint: Suppress unused argument warnings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
3c7bc4a192
commit
c73f88b925
@ -59,7 +59,7 @@ def _undo_old_configuration_changes():
|
||||
aug.save()
|
||||
|
||||
|
||||
def subcommand_setup(arguments):
|
||||
def subcommand_setup(_):
|
||||
"""
|
||||
Increase inotify watches per folder to allow minidlna to
|
||||
monitor changes in large media-dirs.
|
||||
@ -72,7 +72,7 @@ def subcommand_setup(arguments):
|
||||
subprocess.run(['systemctl', 'restart', 'systemd-sysctl'], check=True)
|
||||
|
||||
|
||||
def subcommand_get_media_dir(arguments):
|
||||
def subcommand_get_media_dir(_):
|
||||
"""Retrieve media directory from minidlna.conf"""
|
||||
line = grep('^media_dir=', CONFIG_PATH)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user