From b4cc392e23875f2a489d711b634cd05aa4e545c6 Mon Sep 17 00:00:00 2001 From: Stjujsckij Nickolaj Date: Tue, 12 Oct 2010 20:16:39 +0400 Subject: [PATCH] Remove last known usage of deprecated in Lua 5.1 `arg` Signed-off-by: Uli Schlachter --- lib/awful/util.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index 88de39fb..3b15ebcc 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -305,7 +305,7 @@ function table.keys_filter(t, ...) local keys = table.keys(t) local keys_filtered = { } for _, k in pairs(keys) do - for _, et in pairs(arg) do + for _, et in pairs({...}) do if type(t[k]) == et then rtable.insert(keys_filtered, k) break