8000 Handle non-package modules when looking for job definitions by ghickman · Pull Request #1887 · django-extensions/django-extensions · GitHub
[go: up one dir, main page]

Skip to content

Handle non-package modules when looking for job definitions #1887

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

ghickman
Copy link
Contributor

This fixes an error with runjobs when a jobs.py exists in the environment. Modules have no __path__ member defined unless it's a package, so we should be able to rely on that here.

Fix: #1836

This fixes an error with runjobs when a jobs.py exists in the
environment.  Modules have no `__path__` member defined unless it's a
package so we should be able to rely on that here.
@trbs trbs merged commit 68e84f3 into django-extensions:main Apr 4, 2025
@trbs
Copy link
Member
trbs commented Apr 4, 2025

Thanks !

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