From 4d4da932403364a96cd7132b3fedbe2cd7a9708d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Fri, 8 Nov 2019 10:27:43 +0100 Subject: [PATCH] dnf-json: fix depsolve command When argument passing was switched from command line to stdin in cae1fdd, depsolve command was broken. This commit fixes it. --- dnf-json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf-json b/dnf-json index f8e7a3f01..d2eab7948 100644 --- a/dnf-json +++ b/dnf-json @@ -63,7 +63,7 @@ if command == "dump": elif command == "depsolve": base = create_base(arguments.get("repos", {})) - for pkgspec in arguments: + for pkgspec in arguments["package-specs"]: base.install(pkgspec) base.resolve() packages = []