From 1b01d7cee1be5b5580ca4e569ff08f4c926b0779 Mon Sep 17 00:00:00 2001
From: Victor Sergeyev <vsergeyev@mirantis.com>
Date: Tue, 4 Aug 2015 15:55:02 +0300
Subject: [PATCH] Fix BaseDriver.listen_for_notifications() signature

listen_for_notifications() accepts `pool` argument in driver classes, so
we should add this argument to the base abstract class as well.

Change-Id: Ic52924bb66c8a89cdc90102b1171427806e9a823
---
 oslo_messaging/_drivers/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oslo_messaging/_drivers/base.py b/oslo_messaging/_drivers/base.py
index 2051e9a30..0c0008269 100644
--- a/oslo_messaging/_drivers/base.py
+++ b/oslo_messaging/_drivers/base.py
@@ -112,7 +112,7 @@ class BaseDriver(object):
         """Construct a Listener for the given target."""
 
     @abc.abstractmethod
-    def listen_for_notifications(self, targets_and_priorities):
+    def listen_for_notifications(self, targets_and_priorities, pool):
         """Construct a notification Listener for the given list of
         tuple of (target, priority).
         """