From 654be8fc08f31f9d1db78e51f86737254718e3b7 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 14 Dec 2019 08:03:50 +1000 Subject: Clean up some commented out code from a previous refactor. --- apt-panopticon-report-email-web.lua | 1 - apt-panopticon.lua | 1 - 2 files changed, 2 deletions(-) diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 94f0417..8a5404a 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -49,7 +49,6 @@ local status = function(host, results, typ) local w = 0 local s = nil ~= APT.mirrors[host].Protocols[typ] local to = results.timeout --- if ('http' ~= typ) and ('https' ~= typ) and ('ftp' ~= typ) and ('rsync' ~= typ) then s = true end if not APT.search(APT.protocols, typ) then s = true end if nil ~= results[typ] then e = results[typ].errors diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 502ed6a..6bec6a1 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -626,7 +626,6 @@ local getMirrors = function () elseif "Protocols" == t then local prot = {} for w in d:gmatch("(%w+)") do --- prot[w] = true; if APT.search(APT.protocols, w:lower()) then prot[w] = true end end m[t] = prot -- cgit v1.1