summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_emit_upstart.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-03-16 13:20:26 -0400
committerScott Moser <smoser@ubuntu.com>2015-03-16 13:20:26 -0400
commit516af9ba927dd9b4dcc3461f8a8bb6883c61c036 (patch)
treef288a4cac93a759179bad03317144e6a118cf749 /cloudinit/config/cc_emit_upstart.py
parent31a8aab92656279b141a9c29e484c4895bde15d3 (diff)
downloadvyos-cloud-init-516af9ba927dd9b4dcc3461f8a8bb6883c61c036.tar.gz
vyos-cloud-init-516af9ba927dd9b4dcc3461f8a8bb6883c61c036.zip
emit_upstart: fix use of undeclared variable
Diffstat (limited to 'cloudinit/config/cc_emit_upstart.py')
-rw-r--r--cloudinit/config/cc_emit_upstart.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/config/cc_emit_upstart.py b/cloudinit/config/cc_emit_upstart.py
index e1b9a4c2..86ae97ab 100644
--- a/cloudinit/config/cc_emit_upstart.py
+++ b/cloudinit/config/cc_emit_upstart.py
@@ -32,8 +32,7 @@ LOG = logging.getLogger(__name__)
def is_upstart_system():
if not os.path.isfile("/sbin/initctl"):
- LOG.debug(("Skipping module named %s,"
- " no /sbin/initctl located"), name)
+ LOG.debug("no /sbin/initctl located")
return False
myenv = os.environ.copy()