gluon-core: gluon.util: remove unused function readline()

This commit is contained in:
Matthias Schiffer 2018-07-13 19:09:18 +02:00
parent 223dd49f95
commit 60a0e78a4a
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -77,12 +77,6 @@ function replace_prefix(file, prefix, add)
os.rename(tmp, file)
end
function readline(fd)
local line = fd:read('*l')
fd:close()
return line
end
function exec(command)
local pp = io.popen(command)
local data = pp:read("*a")