From 1aee7d03de64e13276f649904304455bf1d53bf6 Mon Sep 17 00:00:00 2001 From: "Julien M." Date: Wed, 20 Dec 2023 10:38:02 +0100 Subject: [PATCH] http: fix args to HttpHandler --- qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py b/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py index 99f48ed2..7f6fd81c 100644 --- a/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py +++ b/qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py @@ -148,7 +148,6 @@ def run(self) -> None: raise NotImplementedError downloader = HttpHandler( source_repository_path_or_uri=self.options.get("source"), - branch_to_use=self.options.get("branch", "master"), source_repository_type="", ) downloader.download(destination_local_path=self.qdt_working_folder) @@ -347,7 +346,11 @@ def sync_installed_profiles_from_downloaded_profiles( def sync_copy_only_missing(self, profiles_folder_to_copy: tuple[Path]) -> None: """Copy only missing profiles from downloaded ones to QGIS profiles folder to - local destination.""" + local destination. + + Args: + profiles_folder_to_copy (tuple[Path]): folders to copy. + """ # copy downloaded profiles into this for d in profiles_folder_to_copy: copytree(