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.
This commit is contained in:
parent
b33ed9e5d2
commit
4d4da93240
1 changed files with 1 additions and 1 deletions
2
dnf-json
2
dnf-json
|
|
@ -63,7 +63,7 @@ if command == "dump":
|
||||||
|
|
||||||
elif command == "depsolve":
|
elif command == "depsolve":
|
||||||
base = create_base(arguments.get("repos", {}))
|
base = create_base(arguments.get("repos", {}))
|
||||||
for pkgspec in arguments:
|
for pkgspec in arguments["package-specs"]:
|
||||||
base.install(pkgspec)
|
base.install(pkgspec)
|
||||||
base.resolve()
|
base.resolve()
|
||||||
packages = []
|
packages = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue