mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1659 from YunoHost/ci-format-debian/11.1.19
[CI] Format code with Black
This commit is contained in:
commit
3ce6505abe
2 changed files with 5 additions and 2 deletions
|
@ -571,7 +571,10 @@ class PermissionsResource(AppResource):
|
||||||
infos["url"] = _hydrate_app_template(infos["url"], settings)
|
infos["url"] = _hydrate_app_template(infos["url"], settings)
|
||||||
|
|
||||||
if infos.get("additional_urls"):
|
if infos.get("additional_urls"):
|
||||||
infos["additional_urls"] = [_hydrate_app_template(url, settings) for url in infos["additional_urls"]]
|
infos["additional_urls"] = [
|
||||||
|
_hydrate_app_template(url, settings)
|
||||||
|
for url in infos["additional_urls"]
|
||||||
|
]
|
||||||
|
|
||||||
def provision_or_update(self, context: Dict = {}):
|
def provision_or_update(self, context: Dict = {}):
|
||||||
from yunohost.permission import (
|
from yunohost.permission import (
|
||||||
|
|
Loading…
Add table
Reference in a new issue