Skip to content
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

Rewrites "original_name" method to check if "cls" has a "backmap" #1346

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Rewrites "original_name" method to check if "cls" has a "backmap" #1346

merged 1 commit into from
Mar 11, 2024

Conversation

nikitych
Copy link
Contributor

@nikitych nikitych commented Mar 9, 2024

In some cases, such as fail of "mock --chain --recurse some.src.rpm.tofail", FileDownloader "cls" may not have a "backmap" attribute. So we have to check if it exists before accessing it.

Fixes: #1345

In some cases, such as fail of "mock --chain --recurse some.src.rpm.tofail",
FileDownloader "cls" may not have a "backmap" attribute. So we have to check
if it exists before accessing it.

Fixes: #1345
@praiskup
Copy link
Member

Thank you!

@praiskup praiskup merged commit 71a8580 into rpm-software-management:main Mar 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR: type object 'FileDownloader' has no attribute 'backmap'
2 participants