summaryrefslogtreecommitdiff
path: root/zuul/source
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@linux.vnet.ibm.com>2016-03-11 16:28:56 -0800
committerJames E. Blair <jeblair@linux.vnet.ibm.com>2016-03-21 19:58:27 -0700
commitfef7894c1b56a29e47a0d11f3ef6915577235fec (patch)
tree457fe9ebe13570580bcdbf0f806556ed100bb7ce /zuul/source
parent60af7f42d0cd24539c8d408a73a7bdbe6ce6e485 (diff)
downloadzuul-fef7894c1b56a29e47a0d11f3ef6915577235fec.tar.gz
Remove scheduler parameter from connection registry
The connection registry should not have to know about the scheduler, rather, the inverse is true. (NB, connections themselves still know about the scheduler, but that's okay, that happens after the connection registry is created.) Drivers should be able to access the global configuration when being created, so store that when the connection registry configures itself. Change-Id: Iea4b8fe3888b5eefd3df9ce385225b885f2caa0b
Diffstat (limited to 'zuul/source')
-rw-r--r--zuul/source/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/zuul/source/__init__.py b/zuul/source/__init__.py
index 35524d026..d92d47af9 100644
--- a/zuul/source/__init__.py
+++ b/zuul/source/__init__.py
@@ -27,9 +27,8 @@ class BaseSource(object):
Defines the exact public methods that must be supplied."""
- def __init__(self, source_config={}, sched=None, connection=None):
+ def __init__(self, source_config={}, connection=None):
self.source_config = source_config
- self.sched = sched
self.connection = connection
@abc.abstractmethod