diff --git a/Changelog b/Changelog index 3e9eb696..e362116f 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,26 @@ Change history ================ +.. _version-1.5.1: + +1.5.1 +===== +:release-date: 2011-11-30 01:00 P.M GMT +:by: Ask Solem + +* Fixes issue with ``kombu.compat`` introduced in 1.5.0 (Issue #83). + +* Adds the ability to disable content_types in the serializer registry. + + Any message with a content type that is disabled will be refused. + One example would be to disable the Pickle serializer: + + >>> from kombu.serialization import registry + # by name + >>> registry.disable("pickle") + # or by mime-type. + >>> registry.disable("application/x-python-serialize") + .. _version-1.5.0: 1.5.0 diff --git a/pavement.py b/pavement.py index f83cff43..4b1ff931 100644 --- a/pavement.py +++ b/pavement.py @@ -87,7 +87,7 @@ def readme(options): ]) def bump(options): s = "-- '%s'" % (options.custom, ) \ - if getattr(options, "custom") else "" + if getattr(options, "custom", None) else "" sh("contrib/release/bump_version.py \ kombu/__init__.py README.rst %s" % (s, ))