summaryrefslogtreecommitdiff
path: root/cloudinit/distros/__init__.py
diff options
context:
space:
mode:
authorNate House nathan.house@rackspace.com <>2014-01-28 08:48:47 -0600
committerNate House nathan.house@rackspace.com <>2014-01-28 08:48:47 -0600
commitdd95d5e0a90031f19a68b255510476fb176126a6 (patch)
tree1c6fa51fe6beba7299e34deafa187a3945335614 /cloudinit/distros/__init__.py
parent79d1eccc9fa751325fcb574fd9385a14bf2bbba6 (diff)
downloadvyos-cloud-init-dd95d5e0a90031f19a68b255510476fb176126a6.tar.gz
vyos-cloud-init-dd95d5e0a90031f19a68b255510476fb176126a6.zip
exclude modules fix 1
Diffstat (limited to 'cloudinit/distros/__init__.py')
-rw-r--r--cloudinit/distros/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index a6d1e6c6..674c7293 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -62,7 +62,7 @@ class Distro(object):
self.name = name
def is_excluded(self, name):
- if name in self.excluded_modules:
+ if name in self.exclude_modules:
distro = getattr(self, name, None) or getattr(self, 'osfamily')
LOG.debug(("Skipping module named %s, distro excluded"), name,
distro)