diff options
author | Nate House nathan.house@rackspace.com <> | 2014-01-27 16:34:35 -0600 |
---|---|---|
committer | Nate House nathan.house@rackspace.com <> | 2014-01-27 16:34:35 -0600 |
commit | 79d1eccc9fa751325fcb574fd9385a14bf2bbba6 (patch) | |
tree | 779f3570e484fa1d218d40ded165c65f5f61790d /cloudinit/config/cc_emit_upstart.py | |
parent | 309457a96a84132d2e570bf902c464b2a1aa9d0b (diff) | |
download | vyos-cloud-init-79d1eccc9fa751325fcb574fd9385a14bf2bbba6.tar.gz vyos-cloud-init-79d1eccc9fa751325fcb574fd9385a14bf2bbba6.zip |
Removed excessive is_excluded module calls
Diffstat (limited to 'cloudinit/config/cc_emit_upstart.py')
-rw-r--r-- | cloudinit/config/cc_emit_upstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_emit_upstart.py b/cloudinit/config/cc_emit_upstart.py index 4392c1f5..5c2f6a31 100644 --- a/cloudinit/config/cc_emit_upstart.py +++ b/cloudinit/config/cc_emit_upstart.py @@ -29,7 +29,7 @@ distros = ['ubuntu', 'debian'] def handle(name, _cfg, cloud, log, args): - if cloud.is_excluded(name): + if cloud.distro.is_excluded(name): return event_names = args if not event_names: |