dnf-json: don't print success messages
They just make noise.
This commit is contained in:
parent
61d7c465af
commit
46e4f0cf5e
1 changed files with 0 additions and 3 deletions
3
dnf-json
3
dnf-json
|
|
@ -5,7 +5,6 @@
|
||||||
A JSON-based interface for depsolving using DNF.
|
A JSON-based interface for depsolving using DNF.
|
||||||
|
|
||||||
Reads a request through stdin and prints the result to stdout.
|
Reads a request through stdin and prints the result to stdout.
|
||||||
Status messages are always printed to stderr.
|
|
||||||
In case of error, a structured error is printed to stdout as well.
|
In case of error, a structured error is printed to stdout as well.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
@ -234,10 +233,8 @@ def solve(request, cache_dir):
|
||||||
)
|
)
|
||||||
if command == "dump":
|
if command == "dump":
|
||||||
result = solver.dump()
|
result = solver.dump()
|
||||||
printe("dump success")
|
|
||||||
elif command == "depsolve":
|
elif command == "depsolve":
|
||||||
result = solver.depsolve(transactions)
|
result = solver.depsolve(transactions)
|
||||||
printe("depsolve success")
|
|
||||||
|
|
||||||
except dnf.exceptions.MarkingErrors as e:
|
except dnf.exceptions.MarkingErrors as e:
|
||||||
printe("error install_specs")
|
printe("error install_specs")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue