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

lcmgen python: import only the package when the package init is generated #491

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

judfs
Copy link
Contributor

@judfs judfs commented Feb 17, 2024

My second attempt at #470. The python tests pass though I'd like to see this tested with a larger project using lcm.

@nosracd nosracd merged commit 5d41f6f into lcm-proj:master Feb 25, 2024
11 checks passed
@judfs judfs deleted the fix-gen-python-2 branch March 19, 2024 21:32
@judfs
Copy link
Contributor Author

judfs commented Mar 19, 2024

This broke generating when there is no package in the .lcm file and no package is provide via cli. In this case it produces the line

import  

I suppose in this case the package is treated as empty string. Should be easy to fix

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.

2 participants