diff options
author | Juerg Haefliger <juergh@gmail.com> | 2013-06-19 08:44:00 +0200 |
---|---|---|
committer | Juerg Haefliger <juergh@gmail.com> | 2013-06-19 08:44:00 +0200 |
commit | 944623f4ad3e4c7319758c64053d06a3b05555a2 (patch) | |
tree | c8766adf057692157a0c454ac24a02a9fc5022f1 /cloudinit/util.py | |
parent | 812f82e7b3bad3f8127face552c76ef974b54661 (diff) | |
download | vyos-cloud-init-944623f4ad3e4c7319758c64053d06a3b05555a2.tar.gz vyos-cloud-init-944623f4ad3e4c7319758c64053d06a3b05555a2.zip |
fix and cleanup usage of util.logexc
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r-- | cloudinit/util.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py index b27b3567..c45aae06 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -1,7 +1,7 @@ # vi: ts=4 expandtab # # Copyright (C) 2012 Canonical Ltd. -# Copyright (C) 2012 Hewlett-Packard Development Company, L.P. +# Copyright (C) 2012, 2013 Hewlett-Packard Development Company, L.P. # Copyright (C) 2012 Yahoo! Inc. # # Author: Scott Moser <scott.moser@canonical.com> @@ -219,8 +219,7 @@ def fork_cb(child_cb, *args): child_cb(*args) os._exit(0) # pylint: disable=W0212 except: - logexc(LOG, ("Failed forking and" - " calling callback %s"), + logexc(LOG, "Failed forking and calling callback %s", type_utils.obj_name(child_cb)) os._exit(1) # pylint: disable=W0212 else: |