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):
|
class ContentHandlers(object):
|
||||||
|
|
||||||
def __init__(self, paths):
|
def __init__(self):
|
||||||
self.paths = paths
|
|
||||||
self.registered = {}
|
self.registered = {}
|
||||||
|
|
||||||
def __contains__(self, item):
|
def __contains__(self, item):
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ class Init(object):
|
|||||||
ud_obj = self.datasource.get_userdata()
|
ud_obj = self.datasource.get_userdata()
|
||||||
|
|
||||||
# This keeps track of all the active handlers
|
# This keeps track of all the active handlers
|
||||||
c_handlers = helpers.ContentHandlers(paths=self.paths)
|
c_handlers = helpers.ContentHandlers()
|
||||||
|
|
||||||
# Add handlers in cdir
|
# Add handlers in cdir
|
||||||
potential_handlers = util.find_modules(cdir)
|
potential_handlers = util.find_modules(cdir)
|
||||||
|
|||||||
Reference in New Issue
Block a user