summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-16 09:51:45 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-16 09:51:45 -0700
commit1e6455899af5532314d7244bbc660a0e34a84eff (patch)
tree1a77f2c1bee73487564df2e1d59da42345783a3e /cloudinit
parenta4454ec81a44142db0c51ceb76b979ace4b1176e (diff)
downloadvyos-cloud-init-1e6455899af5532314d7244bbc660a0e34a84eff.tar.gz
vyos-cloud-init-1e6455899af5532314d7244bbc660a0e34a84eff.zip
Content handlers does not need the paths variable anymore so removed that.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/helpers.py3
-rw-r--r--cloudinit/stages.py2
2 files changed, 2 insertions, 3 deletions
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)