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
This commit is contained in:
Victor Sergeyev 2015-08-04 15:55:02 +03:00
parent 5ea78625c0
commit 1b01d7cee1

View File

@ -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).
"""