diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-11 17:20:04 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-11 17:20:04 -0700 |
commit | 27133cc16d219e5594d7f17f25a48e3fb56db3a6 (patch) | |
tree | b1c2a4ec9ec34c30ff18c52189573d9c31067227 /cloudinit | |
parent | bccf7ec19694f2f29717e18e62dcd33688cb424d (diff) | |
download | vyos-cloud-init-27133cc16d219e5594d7f17f25a48e3fb56db3a6.tar.gz vyos-cloud-init-27133cc16d219e5594d7f17f25a48e3fb56db3a6.zip |
Pylint fixups.
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/user_data/boot_hook.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/user_data/boot_hook.py b/cloudinit/user_data/boot_hook.py index 4ce398ac..87e7a3ec 100644 --- a/cloudinit/user_data/boot_hook.py +++ b/cloudinit/user_data/boot_hook.py @@ -60,6 +60,7 @@ class BootHookPartHandler(ud.PartHandler): env['INSTANCE_ID'] = str(self.instance_id) util.subp([filepath], env=env) except util.ProcessExecutionError as e: - LOG.error("Boothooks script %s returned %s", filepath, e.exit_code) + LOG.error("Boothooks script %s execution error %s", filepath, e) except Exception as e: - LOG.error("Boothooks unknown exception %s when running %s", e, filepath) + LOG.exception(("Boothooks unknown " + "error %s when running %s"), e, filepath) |