From 0a937ab0bd9f3dda8345cfeb6434c71a866b55d5 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 6 Mar 2023 20:06:11 +0100 Subject: [PATCH] Unecessary pass statement --- src/utils/resources.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/resources.py b/src/utils/resources.py index 6c5e4890d..6202f0353 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -320,7 +320,7 @@ class SourcesResource(AppResource): - For elements with `prefetch = true`, will download the asset (for the appropriate architecture) and store them in `/var/cache/yunohost/download/$app/$source_id`, to be later picked up by `ynh_setup_source`. (NB: this only happens during install and upgrade, not restore) ##### Deprovision: - - Nothing + - Nothing (just cleanup the cache) """ type = "sources" @@ -345,7 +345,6 @@ class SourcesResource(AppResource): def deprovision(self, context: Dict = {}): if os.path.isdir(f"/var/cache/yunohost/download/{self.app}/"): rm(f"/var/cache/yunohost/download/{self.app}/", recursive=True) - pass def provision_or_update(self, context: Dict = {}):