mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1813 from YunoHost/actions/black
This commit is contained in:
commit
7bc6fef22c
1 changed files with 5 additions and 1 deletions
|
@ -152,7 +152,11 @@ class AppResource:
|
||||||
"__APP__": self.app,
|
"__APP__": self.app,
|
||||||
"__YNH_ARCH__": system_arch(),
|
"__YNH_ARCH__": system_arch(),
|
||||||
"__YNH_DEBIAN_VERSION__": debian_version(),
|
"__YNH_DEBIAN_VERSION__": debian_version(),
|
||||||
"__YNH_APP_UPSTREAM_VERSION__": manager.wanted["version"].split("~")[0] if manager.wanted else manager.current["version"].split("~")[0],
|
"__YNH_APP_UPSTREAM_VERSION__": (
|
||||||
|
manager.wanted["version"].split("~")[0]
|
||||||
|
if manager.wanted
|
||||||
|
else manager.current["version"].split("~")[0]
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
def recursive_apply(function: Callable, data: Any) -> Any:
|
def recursive_apply(function: Callable, data: Any) -> Any:
|
||||||
|
|
Loading…
Add table
Reference in a new issue