Bug 2091636
Summary: | python3-dnf wrong indentation level in substitutions.py:64 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | space88man <shihping.chan> | |
Component: | dnf | Assignee: | Jaroslav Mracek <jmracek> | |
Status: | CLOSED ERRATA | QA Contact: | Tomáš Bajer <tbajer> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | medium | |||
Version: | 9.0 | CC: | james.antill, mbanas, mblaha, tbajer | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | dnf-4.14.0-1.el9 | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2110912 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-09 08:18:18 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: | 2110912 |
Description
space88man
2022-05-30 14:34:45 UTC
To trigger this error I added symbolic links to directories; the error depends on how python scans the directory. 1. If python encounters a non-file (e.g link to directory) the error will be triggered 2. if python encounters a file, the var val will be set from this file, so in future interations self[fsvar] = val will work as it will reuse the last successful value from readline() I created a PR that resolves the issue - https://github.com/rpm-software-management/dnf/pull/1834. The bug still requires a test for our CI. 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 (dnf bug fix and enhancement update), 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/RHBA-2023:2490 |