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

Fix celery shell command #6421

Merged
merged 1 commit into from Oct 17, 2020
Merged

Fix celery shell command #6421

merged 1 commit into from Oct 17, 2020

Conversation

lewisemm
Copy link
Contributor

Note: Before submitting this pull request, please review our contributing
guidelines
.

Description

  • Running the celery shell command on Celery version 5.0.0 (singularity) produces the following error.
    .
    .
    .
File "/Users/..../Envs/tmp-9e2644dd148eaee/lib/python3.7/site-packages/celery/bin/shell.py", line 133, in shell
    import celery.task.base
ModuleNotFoundError: No module named 'celery.task'
  • This PR removes the reference to celery.task and adds import celery to fix the shell command.

@lgtm-com
Copy link

lgtm-com bot commented Oct 17, 2020

This pull request fixes 1 alert when merging c4f0a02 into 6957f96 - view on LGTM.com

fixed alerts:

  • 1 for Non-exception in 'except' clause

@auvipy auvipy added this to the 5.0.1 milestone Oct 17, 2020
@auvipy auvipy merged commit 9b78de8 into celery:master Oct 17, 2020
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.

None yet

3 participants