summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2014-09-15 15:10:17 -0700
committerJay Faulkner <jay@jvf.cc>2014-09-15 15:10:17 -0700
commit668919511625f7b6a8922e4504e224e915f7be22 (patch)
treec89affde78a1fdecd9eebfbfa20541dab00ce228 /cloudinit
parentfa7b60d5269cb76c4205b4709bd3048e14b9a0c7 (diff)
downloadvyos-cloud-init-668919511625f7b6a8922e4504e224e915f7be22.tar.gz
vyos-cloud-init-668919511625f7b6a8922e4504e224e915f7be22.zip
Remove pylint: lines
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index f0fa7a19..9bbb6b3c 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -198,11 +198,11 @@ def fork_cb(child_cb, *args, **kwargs):
if fid == 0:
try:
child_cb(*args, **kwargs)
- os._exit(0) # pylint: disable=W0212
+ os._exit(0)
except:
logexc(LOG, "Failed forking and calling callback %s",
type_utils.obj_name(child_cb))
- os._exit(1) # pylint: disable=W0212
+ os._exit(1)
else:
LOG.debug("Forked child %s who will run callback %s",
fid, type_utils.obj_name(child_cb))