summaryrefslogtreecommitdiff
path: root/kombu/entity.py
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2013-09-09 16:04:53 +0100
committerAsk Solem <ask@celeryproject.org>2013-09-09 16:04:53 +0100
commit77b075d6c9ddecd19b4868ae8e7252c18fc0cb22 (patch)
tree89d6696bc8f3e1715211e90a4416ef5d07126cad /kombu/entity.py
parent7aa2a9990cef81b4a322991fc5787f86dff484d0 (diff)
downloadkombu-77b075d6c9ddecd19b4868ae8e7252c18fc0cb22.tar.gz
Fixes typo prepare_accept_encoding -> prepare_accept_content
Diffstat (limited to 'kombu/entity.py')
-rw-r--r--kombu/entity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kombu/entity.py b/kombu/entity.py
index 50e89dc2..496b1eab 100644
--- a/kombu/entity.py
+++ b/kombu/entity.py
@@ -8,7 +8,7 @@ Exchange and Queue declarations.
from __future__ import absolute_import
from .abstract import MaybeChannelBound
-from .serialization import prepare_accept_encoding
+from .serialization import prepare_accept_content
TRANSIENT_DELIVERY_MODE = 1
PERSISTENT_DELIVERY_MODE = 2
@@ -566,7 +566,7 @@ class Queue(MaybeChannelBound):
m2p = getattr(self.channel, 'message_to_python', None)
if m2p:
message = m2p(message)
- message.accept = prepare_accept_encoding(accept)
+ message.accept = prepare_accept_content(accept)
return message
def purge(self, nowait=False):