emit_upstart: fix use of undeclared variable

This commit is contained in:
Scott Moser 2015-03-16 13:20:26 -04:00
parent 1445f1d529
commit 708583528a

View File

@ -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()