From: Michael Schroeder Date: Wed, 27 Mar 2024 13:05:11 +0000 (+0100) Subject: luasolv: delete debug line X-Git-Tag: 0.7.29~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=709092ef523a7255b5b8d1e5b1468931afb107d4;p=thirdparty%2Flibsolv.git luasolv: delete debug line --- diff --git a/examples/luasolv b/examples/luasolv old mode 100644 new mode 100755 index a2fe5ecc..f906475e --- a/examples/luasolv +++ b/examples/luasolv @@ -338,7 +338,6 @@ function Repo_rpmmd:load_ext(repodata) local filechksum = repodata:lookup_str(solv.SOLVID_META, solv.REPOSITORY_REPOMD_CHECKSUM) local f = self:download(filename, true, filechksum) if not f then -print("download failed") return false end if ext == 'FL' then @@ -458,7 +457,7 @@ if cmd == 'search' then os.exit(0) end -if not cmdactions[cmd] then die("unknown command '"..cmd.."'") end +if not cmdactions[cmd] then die(("unknown command '%s'"):format(cmd)) end pool:addfileprovides() pool:createwhatprovides()