From 27f3c272430470233a38201b21828bfda6ae76d7 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 1 Jan 2024 13:18:00 -0800 Subject: Another nil ref_times check in check_mirrors_status --- modules/mga-mirrors/files/check_mirrors_status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index 82a2f085..e6255405 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -121,7 +121,7 @@ def get_date(url, distrib, arch) end def format_age(ref_time, time) - return " X" unless time + return " X" unless ref_time and time diff = ref_time - time cls = 'broken' -- cgit v1.2.1