summaryrefslogtreecommitdiffstats
path: root/lib/format.lua
diff options
context:
space:
mode:
authorttrask <ttrask@ab2d0c66-481e-0410-8bed-d214d4d58bed>2009-02-27 13:59:37 +0000
committerttrask <ttrask@ab2d0c66-481e-0410-8bed-d214d4d58bed>2009-02-27 13:59:37 +0000
commit5dc15abba740eae84b4202a6a7319cad163fe87c (patch)
treeb561199485a353094d69deaf6930cc1691f8cf87 /lib/format.lua
parent6589d18f8cf9c4d9551e5117c098da3b4442576d (diff)
downloadacf-core-5dc15abba740eae84b4202a6a7319cad163fe87c.tar.bz2
acf-core-5dc15abba740eae84b4202a6a7319cad163fe87c.tar.xz
Reverted 1710 and 1712 mistaken updates to core. Release never used.v0.4.21
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1714 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/format.lua')
-rw-r--r--lib/format.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/format.lua b/lib/format.lua
index e2069f0..63b8fec 100644
--- a/lib/format.lua
+++ b/lib/format.lua
@@ -101,10 +101,6 @@ function parse_configfile( input, comment )
local lines = parse_linesandwords(input, comment)
for i,linetable in ipairs(lines) do
- if string.find(linetable[1], "%S=%S") then
- table.insert(linetable, 2, string.match(linetable[1], "=(%S+)"))
- linetable[1] = string.match(linetable[1], "^[^=]+")
- end
config[linetable[1]] = table.concat(linetable, " ", 2) or ""
end
return config