]> git.ipfire.org Git - ipfire.org.git/commitdiff
Revert "releases: Fix JSON syntax of the os-list object"
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Sep 2025 16:29:52 +0000 (16:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Sep 2025 16:29:52 +0000 (16:29 +0000)
This reverts commit e39f2409d21e2f5da2f6c595d040850e5fabcc1e.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/releases.py

index cb0c361e2e87e2c300cd92f6d3c1e747637be308..5990c4f6cdb300061e0b5e3d3fd4681f435fa4c3 100644 (file)
@@ -378,7 +378,7 @@ class Release(Object):
                        return {}
 
                # Make the document
-               os_list = {
+               return {
                        "name"         : self.name,
                        "description"  : "The Open Source Linux-based Firewall Operating System"
                                " with a Comprehensive Feature Set",
@@ -392,12 +392,6 @@ class Release(Object):
                        "image_download_sha256" : file.sha256,
                }
 
-               return {
-                       "os_list" : [
-                               os_list,
-                       ],
-               }
-
        @property
        def post(self):
                if self.__data.blog_id: