forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backends]: Consul: Do not encode, but decode a byte() object (celery…
…#4416) We want a string and it's already a byte() code array, so we should decode it instead of encoding it. While doing so fix another case where PY3 was used on the same file To do so use kombu.utils.encoding.bytes_to_str and add a test for this Signed-off-by: Wido den Hollander <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters