remove useless notification listener helper

Change-Id: I473e7e5eeba43f6a7e60a4d6fdbf2eaf9eddd864
This commit is contained in:
Mehdi Abaakouk 2015-11-27 14:28:04 +01:00 committed by gordon chung
parent d0f1db6ebc
commit 660de65a8e

View File

@ -81,14 +81,6 @@ _SERIALIZER = RequestContextSerializer(
oslo_serializer.JsonPayloadSerializer())
def get_notification_listener(transport, targets, endpoints,
allow_requeue=False):
"""Return a configured oslo_messaging notification listener."""
return oslo_messaging.get_notification_listener(
transport, targets, endpoints, executor='threading',
allow_requeue=allow_requeue)
def get_batch_notification_listener(transport, targets, endpoints,
allow_requeue=False,
batch_size=1, batch_timeout=None):