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

enhance get_software_libdir to return full paths if requested #4699

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Flamefire
Copy link
Contributor

This avoids the need to do something like os.path.join(get_software_root(foo), get_software_libdir(foo))

Also removed an extra indent for readability: The if root: <long codeblock> else: return None gets easier to read when swapped avoiding the else

This avoids the need to do something like
`os.path.join(get_software_root(foo), get_software_libdir(foo))`
Copy link
Contributor

@Micket Micket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Micket
Copy link
Contributor

Micket commented Nov 22, 2024

I'm only hesitant in case this creates some annoying merge conflict with 5.0.x, i don't want to block that in any way as we just must get that going

@Flamefire
Copy link
Contributor Author

At least 5.0x can be merged into this branch, so I hope its fine the other way round later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants