Bug 881735
Summary: | when I trigger dep issue, yum prints warning as python object and not plain text: "(1, [u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum'])" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jan Hutař <jhutar> |
Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.9 | CC: | james.antill, jzeleny, lmiksik, tcallawa, varghese.ag, zpavlas |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-10 20:46:31 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1049888 |
Description
Jan Hutař
2012-11-29 13:35:05 UTC
A 5-line patch.. --- yum-3.2.22/yummain.py.old 2013-03-18 16:00:41.494490480 +0100 +++ yum-3.2.22/yummain.py 2013-03-18 16:02:14.063221512 +0100 @@ -268,7 +268,13 @@ def main(args): except IOError, e: return exIOError(e) - verbose_logger.log(logginglevels.INFO_2, _('Complete!')) + if type(return_code) is tuple: + return_code, msgs = return_code + for msg in msgs: + logger.critical("%s", msg) + else: + verbose_logger.log(logginglevels.INFO_2, _('Complete!')) + if unlock(): return 200 return return_code *** Bug 893681 has been marked as a duplicate of this bug. *** This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. Given that this is a minor cosmetic issue I'm going to close this now, as we are very late in RHEL-5. At least the early versions of RHEL-6 yum could be rebuilt on RHEL-5, so if any customer really needs this then that is a viable path. |