[projects/pld-ftp-admin] config: missing signed_trees/archived_trees mean no trees

arekm arekm at pld-linux.org
Sat Oct 24 11:45:49 CEST 2026


commit f2d86e294aa0d7d1a61dce1234e290c7d1f5e8f8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Oct 20 15:29:59 2026 +0200

    config: missing signed_trees/archived_trees mean no trees
    
    None made pfa-mvpkg and pfa-testmvpkg fail with a TypeError.

 modules/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/config.py b/modules/config.py
index cab0594..e7e5f25 100644
--- a/modules/config.py
+++ b/modules/config.py
@@ -43,12 +43,12 @@ else:
 if 'signed_trees' in value:
     signed_trees = value['signed_trees'].split(' ')
 else:
-    signed_trees = None
+    signed_trees = []
 
 if 'archived_trees' in value:
     archived_trees = value['archived_trees'].split(' ')
 else:
-    archived_trees = None
+    archived_trees = []
 
 if 'old_poldek' in value and value['old_poldek'] == 'yes':
     old_poldek = True
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/e14cb7d4d74f8bdd9368d9645ecaf49593cf6335



More information about the pld-cvs-commit mailing list