summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-19 09:09:20 -0400
committerScott Moser <smoser@ubuntu.com>2013-03-19 09:09:20 -0400
commit6591a7d35add188536dc9db1db0b9ceeaed887d7 (patch)
tree99154cc36176c50920a30d325153f6e3d3adff72 /cloudinit/config
parenta904de054f7818137c864e0f3ff728b3764cf457 (diff)
parentf8318f8eec9c8f1c1676ce6a5b5c2c77fa2f7cc5 (diff)
downloadvyos-cloud-init-6591a7d35add188536dc9db1db0b9ceeaed887d7.tar.gz
vyos-cloud-init-6591a7d35add188536dc9db1db0b9ceeaed887d7.zip
merge from trunk rev 800
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_power_state_change.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_power_state_change.py b/cloudinit/config/cc_power_state_change.py
index de0c0bbd..188047e5 100644
--- a/cloudinit/config/cc_power_state_change.py
+++ b/cloudinit/config/cc_power_state_change.py
@@ -100,7 +100,7 @@ def execmd(exe_args, output=None, data_in=None):
proc = subprocess.Popen(exe_args, stdin=subprocess.PIPE,
stdout=output, stderr=subprocess.STDOUT)
proc.communicate(data_in)
- ret = proc.returncode
+ ret = proc.returncode # pylint: disable=E1101
except Exception:
doexit(EXIT_FAIL)
doexit(ret)