mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Unecessary pass statement
This commit is contained in:
parent
4102d626e5
commit
0a937ab0bd
1 changed files with 1 additions and 2 deletions
|
@ -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 = {}):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue