From 1e6455899af5532314d7244bbc660a0e34a84eff Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Sat, 16 Jun 2012 09:51:45 -0700 Subject: Content handlers does not need the paths variable anymore so removed that. --- cloudinit/helpers.py | 3 +-- cloudinit/stages.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'cloudinit') diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py index 5e47794b..76faa1d5 100644 --- a/cloudinit/helpers.py +++ b/cloudinit/helpers.py @@ -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): diff --git a/cloudinit/stages.py b/cloudinit/stages.py index 9c772243..5dc289ea 100644 --- a/cloudinit/stages.py +++ b/cloudinit/stages.py @@ -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) -- cgit v1.2.3