diff options
author | Joshua Harlow <harlowja@gmail.com> | 2013-07-24 00:53:43 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2013-07-24 00:53:43 -0700 |
commit | d04b027003faf526028740d34421693396fcabb1 (patch) | |
tree | da54d484e17c0542b1accc7362ecf442c5f8b56b /cloudinit/helpers.py | |
parent | 18a625f958aaecf82a82db24b31290408d27882a (diff) | |
download | vyos-cloud-init-d04b027003faf526028740d34421693396fcabb1.tar.gz vyos-cloud-init-d04b027003faf526028740d34421693396fcabb1.zip |
Remove the old register_defaults function.
Diffstat (limited to 'cloudinit/helpers.py')
-rw-r--r-- | cloudinit/helpers.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py index e500220a..e5eac6a7 100644 --- a/cloudinit/helpers.py +++ b/cloudinit/helpers.py @@ -315,15 +315,6 @@ class ContentHandlers(object): def iteritems(self): return self.registered.iteritems() - def register_defaults(self, defs): - registered = set() - for mod in defs: - for t in mod.list_types(): - if not self.is_registered(t): - self.registered[t] = mod - registered.add(t) - return registered - class Paths(object): def __init__(self, path_cfgs, ds=None): |