mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1876 from YunoHost/actions/black
Format Python code with Black
This commit is contained in:
commit
2e05b0894b
1 changed files with 6 additions and 6 deletions
|
@ -162,17 +162,17 @@ class AppResource:
|
|||
and manager.wanted
|
||||
and manager.wanted.get("integration", {}).get("helpers_version")
|
||||
):
|
||||
self.helpers_version = float(manager.wanted.get("integration", {}).get(
|
||||
"helpers_version"
|
||||
))
|
||||
self.helpers_version = float(
|
||||
manager.wanted.get("integration", {}).get("helpers_version")
|
||||
)
|
||||
elif (
|
||||
manager
|
||||
and manager.current
|
||||
and manager.current.get("integration", {}).get("helpers_version")
|
||||
):
|
||||
self.helpers_version = float(manager.current.get("integration", {}).get(
|
||||
"helpers_version"
|
||||
))
|
||||
self.helpers_version = float(
|
||||
manager.current.get("integration", {}).get("helpers_version")
|
||||
)
|
||||
elif manager and manager.wanted and manager.wanted.get("packaging_format"):
|
||||
self.helpers_version = float(manager.wanted.get("packaging_format"))
|
||||
elif manager and manager.current and manager.current.get("packaging_format"):
|
||||
|
|
Loading…
Add table
Reference in a new issue