Content handlers does not need the paths variable anymore so removed that.
This commit is contained in:
@@ -160,8 +160,7 @@ class Runners(object):
|
||||
|
||||
class ContentHandlers(object):
|
||||
|
||||
def __init__(self, paths):
|
||||
self.paths = paths
|
||||
def __init__(self):
|
||||
self.registered = {}
|
||||
|
||||
def __contains__(self, item):
|
||||
|
||||
@@ -313,7 +313,7 @@ class Init(object):
|
||||
ud_obj = self.datasource.get_userdata()
|
||||
|
||||
# This keeps track of all the active handlers
|
||||
c_handlers = helpers.ContentHandlers(paths=self.paths)
|
||||
c_handlers = helpers.ContentHandlers()
|
||||
|
||||
# Add handlers in cdir
|
||||
potential_handlers = util.find_modules(cdir)
|
||||
|
||||
Reference in New Issue
Block a user