[projects/pld-ftp-admin] ftptree: no builder queue for no packages to check
arekm
arekm at pld-linux.org
Sat Nov 21 10:43:07 CET 2026
commit bef0249156b14a3d1eace83ab0902536724e0bfa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Nov 21 01:39:34 2026 +0100
ftptree: no builder queue for no packages to check
With nothing marked, as when clean-dups.py finds no old versions, it
still fetched the queue and failed when that was down.
modules/ftptree.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/modules/ftptree.py b/modules/ftptree.py
index 2f7ee52..d05cf42 100644
--- a/modules/ftptree.py
+++ b/modules/ftptree.py
@@ -424,6 +424,9 @@ class FtpTree(BaseFtpTree):
Reads config.builderqueue to grab the info
"""
+ # nothing to check needs no queue, which may be down
+ if not marked:
+ return
try:
f = urllib.request.urlopen(config.builderqueue)
except urllib.error.URLError as e:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/a049a512859eaede288d71649a2320e16c959476
More information about the pld-cvs-commit
mailing list