From 576e6ccfb20aa754da41aa73977031ba0ac6aebb Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Tue, 8 Dec 2015 10:48:35 -0800 Subject: [PATCH] Revert "serializer: deprecate RequestContextSerializer" This reverts commit 196980dace199c412dfaec34568c2a2d66b95a45. There is a bug in debtcollector with using the remove decorator on abstract classes, which RequestContextSerializer is. https://bugs.launchpad.net/debtcollector/+bug/1520397 The addition of debtcollector to requirements.txt is left in place because it is used elsewhere in the code by now. Partial-Bug: #1524041 Change-Id: Ic3985707e941f7a7a1e039e702ce9219a3c741df --- oslo_messaging/serializer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/oslo_messaging/serializer.py b/oslo_messaging/serializer.py index 8b7c0a7a3..b1761fd83 100644 --- a/oslo_messaging/serializer.py +++ b/oslo_messaging/serializer.py @@ -19,7 +19,6 @@ __all__ = ['Serializer', 'NoOpSerializer', 'JsonPayloadSerializer', import abc -from debtcollector import removals from oslo_context import context as common_context from oslo_serialization import jsonutils import six @@ -64,7 +63,6 @@ class Serializer(object): """ -@removals.remove(version="2.9", removal_version="3.0") class RequestContextSerializer(Serializer): def __init__(self, base):