aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon-report-email-web.lua
diff options
context:
space:
mode:
authoronefang2019-12-14 08:03:50 +1000
committeronefang2019-12-14 08:03:50 +1000
commit654be8fc08f31f9d1db78e51f86737254718e3b7 (patch)
tree5b251934e2dbe73f51edab99e490fa9b0f5ba736 /apt-panopticon-report-email-web.lua
parentValidate the mirrors_list FQDN and BaseURL. (diff)
downloadapt-panopticon-654be8fc08f31f9d1db78e51f86737254718e3b7.zip
apt-panopticon-654be8fc08f31f9d1db78e51f86737254718e3b7.tar.gz
apt-panopticon-654be8fc08f31f9d1db78e51f86737254718e3b7.tar.bz2
apt-panopticon-654be8fc08f31f9d1db78e51f86737254718e3b7.tar.xz
Clean up some commented out code from a previous refactor.
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
-rwxr-xr-xapt-panopticon-report-email-web.lua1
1 files changed, 0 insertions, 1 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