Skip to content

Commit

Permalink
Update celery/app/routes.py
Browse files Browse the repository at this point in the history
[nit]: Use parenthesis to avoid extra white space:

Co-authored-by: Josue Balandrano Coronel <[email protected]>
  • Loading branch information
auvipy and xirdneh authored Mar 11, 2021
1 parent 182824c commit 7a98c0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions celery/app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

GLOB_PATTERNS = ('*', '?', '[', ']', '!')

MAP_ROUTES_MUST_BE_A_DICTIONARY = """\
Starting from Celery 5.1 the task_routes configuration must be a dictionary.
Support for providing a list of router objects will be removed in 6.0.
""".strip()
MAP_ROUTES_MUST_BE_A_DICTIONARY = (
"Starting from Celery 5.1 the task_routes configuration must be a dictionary. "
"Support for providing a list of router objects will be removed in 6.0."
)


class MapRoute:
Expand Down

0 comments on commit 7a98c0e

Please sign in to comment.