Bug 1700250

Summary: Redundant “]” in dnf module info output
Product: Red Hat Enterprise Linux 8 Reporter: yalzhang <yalzhang>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: unspecified Docs Contact:
Priority: low    
Version: 8.0CC: dmach, james.antill, pkratoch
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-4.2.7-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:21:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: Red Hat1681084    
Bug Blocks:    

Description yalzhang@redhat.com 2019-04-16 07:39:19 UTC
Description of problem:
There is a redundant “]” in dnf module info output

Version-Release number of selected component (if applicable):
# rpm -q dnf
dnf-4.0.9.2-5.el8.noarch

How reproducible:
100%

Steps to Reproduce:
1.  For arbitrary module, run "dnf module info ${module name}", like:
# dnf module info virt
...
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive]

check the character on the last line "Hint", there is a redundant "]" 

Actual results:
It should be a minor typo

Expected results:
should be "[a]ctive" not "[a]ctive]"

Additional info:

Comment 2 Jaroslav Mracek 2019-05-14 18:55:14 UTC
The issue is fixed by commit https://github.com/rpm-software-management/dnf/commit/09b0903310dfceec0da0ec54b4e3fca182e95016.

Comment 3 Jaroslav Mracek 2019-05-14 19:13:18 UTC
A test is provided by PR https://github.com/rpm-software-management/ci-dnf-stack/pull/541.

Comment 11 errata-xmlrpc 2019-11-05 22:21:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3583