Bug 737591
Summary: | Katello throws error: zero length field name in format in RHEL6.1 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
Component: | katello-agent | Assignee: | Tomas Strachota <tstrachota> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | cwelton, jrist, mmccune, sreichar |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | katello-cli-0.1.40-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-22 17:56:47 UTC | Type: | --- |
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: | 747354 |
Description
Lukas Zapletal
2011-09-12 16:10:04 UTC
It was a python version problem. String's method 'format' allows to omit position specifiers since 2.7. Added positions to the strings so that we are compatible also with 2.6. commit fdd2765219019f87c859279c581644c154b9548e Author: Tomas Strachota <tstrachota> Date: Tue Sep 13 10:22:23 2011 +0200 737591 - format function was missing positional arguments method str.format requires positional argument specifiers in Python < 2.7 *** Bug 730841 has been marked as a duplicate of this bug. *** *** Bug 753217 has been marked as a duplicate of this bug. *** *** Bug 753220 has been marked as a duplicate of this bug. *** Is this a dev tracking task - i.e., can we close it? I don't think so, looks like the error is thrown by the katello cli, not the unit tests. Asking for info from Tomas where to find passing test results on beaker with this fix in place, then we can close out. Verified. |