From 0f2b7ef0feeeead5edfbb087b4713addb026c739 Mon Sep 17 00:00:00 2001 From: hisham Date: Wed, 27 May 2009 00:04:35 +0000 Subject: work in conversion of manifest format git-svn-id: http://luarocks.org/svn/luarocks/trunk@25 9ca3f7c1-7366-0410-b1a3-b5c78f85698c --- src/luarocks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/luarocks.lua') diff --git a/src/luarocks.lua b/src/luarocks.lua index aef93363..8530fd90 100644 --- a/src/luarocks.lua +++ b/src/luarocks.lua @@ -182,7 +182,7 @@ local function pick_module(module, constraints) for _, tree in pairs(rocks_trees) do local entries = tree.manifest.modules[module] if entries then - for _, entry in pairs(entries) do + for entry, _ in pairs(entries) do local name, version = entry:match("^([^/]*)/(.*)$") if context[name] == version then return name, version, tree -- cgit v1.2.3-55-g6feb