From dc362dd636eaf912c788b2d468c015eb7bf035d1 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 15 Oct 2023 16:48:59 +0200 Subject: [PATCH] Revert packages_from_raw_bash test Co-authored-by: Alexandre Aubin --- src/utils/resources.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/resources.py b/src/utils/resources.py index 18b1bdb4c..ba1a915e4 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -1117,10 +1117,7 @@ class AptDependenciesAppResource(AppResource): if ( not isinstance(values.get("repo"), str) or not isinstance(values.get("key"), str) - or ( - not isinstance(values.get("packages"), list) - and not isinstance(values.get("packages_from_raw_bash"), str) - ) + or not isinstance(values.get("packages"), list) ): raise YunohostError( "In apt resource in the manifest: 'extras' repo should have the keys 'repo', 'key' defined as strings, 'packages' defined as list or 'packages_from_raw_bash' defined as string",