Skip to content

Require one transaction ID for history list + info #2214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ DNF CONTRIBUTORS
Baurzhan Muftakhidinov <[email protected]>
Christopher Meng <[email protected]>
Daniel Mach <[email protected]>
Dane H Lim <[email protected]>
Dave Johansen <[email protected]>
Derick Diaz <[email protected]>
Dominik Mierzejewski <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion dnf/cli/commands/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def configure(self):
self.base.conf.install_weak_deps = False

dnf.cli.commands._checkGPGKey(self.base, self.cli)
elif self.opts.transactions_action == 'store':
elif self.opts.transactions_action in ['store', 'list', 'info']:
self._require_one_transaction_id = True
if not self.opts.transactions:
raise dnf.cli.CliError(_('No transaction ID or package name given.'))
Expand Down
Loading