Content handlers does not need the paths variable anymore so removed that.

This commit is contained in:
Joshua Harlow
2012-06-16 09:51:45 -07:00
parent 433b4dba27
commit a9538d6e20
2 changed files with 2 additions and 3 deletions

View File

@@ -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):

View File

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