runners : linter reports cleanup

del an unused parameter and remove a whitespace
This commit is contained in:
2026-01-30 15:19:46 +01:00
parent 2dafcc8c6b
commit 7dd01260b3

View File

@@ -6,6 +6,7 @@ from unisync.paths import PathsManager
from unisync.config import Config
def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager, config: Config):
del config # The function signature must be the same for all runners
if synchroniser.create_ssh_master_connection() != 0:
print("Connection failed quitting")
return 1
@@ -13,7 +14,7 @@ def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager, config:
synchroniser.sync_files(paths_manager.get_paths_to_sync())
synchroniser.sync_links(paths_manager.get_paths_to_sync())
# TODO check the config options and do or don't do the following
synchroniser.update_links()
#synchroniser.mount_remote_dir()