Merge pull request #349 from sprettur/master

Fix reversed method references in custom seiralizer example
This commit is contained in:
Ask Solem Hoel 2014-05-01 16:52:17 +01:00
commit 5952dcdedd
1 changed files with 1 additions and 1 deletions

View File

@ -179,6 +179,6 @@ supported by Kombu.
def loads(s):
return pickle.load(BytesIO(s))
register('my_pickle', loads, pickle.dumps,
register('my_pickle', pickle.dumps, loads,
content_type='application/x-pickle2',
content_encoding='binary')