diff options
author | onefang | 2019-12-14 08:03:50 +1000 |
---|---|---|
committer | onefang | 2019-12-14 08:03:50 +1000 |
commit | 654be8fc08f31f9d1db78e51f86737254718e3b7 (patch) | |
tree | 5b251934e2dbe73f51edab99e490fa9b0f5ba736 /apt-panopticon.lua | |
parent | Validate the mirrors_list FQDN and BaseURL. (diff) | |
download | apt-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 '')
-rwxr-xr-x | apt-panopticon.lua | 1 |
1 files changed, 0 insertions, 1 deletions
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 |