aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon-report-email-web.lua1
-rwxr-xr-xapt-panopticon.lua1
2 files changed, 0 insertions, 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)
49 local w = 0 49 local w = 0
50 local s = nil ~= APT.mirrors[host].Protocols[typ] 50 local s = nil ~= APT.mirrors[host].Protocols[typ]
51 local to = results.timeout 51 local to = results.timeout
52-- if ('http' ~= typ) and ('https' ~= typ) and ('ftp' ~= typ) and ('rsync' ~= typ) then s = true end
53 if not APT.search(APT.protocols, typ) then s = true end 52 if not APT.search(APT.protocols, typ) then s = true end
54 if nil ~= results[typ] then 53 if nil ~= results[typ] then
55 e = results[typ].errors 54 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 ()
626 elseif "Protocols" == t then 626 elseif "Protocols" == t then
627 local prot = {} 627 local prot = {}
628 for w in d:gmatch("(%w+)") do 628 for w in d:gmatch("(%w+)") do
629-- prot[w] = true;
630 if APT.search(APT.protocols, w:lower()) then prot[w] = true end 629 if APT.search(APT.protocols, w:lower()) then prot[w] = true end
631 end 630 end
632 m[t] = prot 631 m[t] = prot