diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-03-19 09:06:31 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-03-19 09:06:31 -0400 |
commit | f8318f8eec9c8f1c1676ce6a5b5c2c77fa2f7cc5 (patch) | |
tree | 09a07ba4b0ef86b296597ef8876a731901b43cc6 /cloudinit/config | |
parent | ae0f94c8f39a234d73ab8e2caf24d73439c8b5ee (diff) | |
download | vyos-cloud-init-f8318f8eec9c8f1c1676ce6a5b5c2c77fa2f7cc5.tar.gz vyos-cloud-init-f8318f8eec9c8f1c1676ce6a5b5c2c77fa2f7cc5.zip |
pylint fixes
a.) appease pylint on raring, as it doesn't like subprocess
pylint: 0.26.0-1ubuntu1
This is mentioned in comments at http://www.logilab.org/ticket/46273
b.) tests/unittests/test_util.py:
the mountinfo lines are longer than 80 chars.
Just disable long lines complaints for this file.
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/cc_power_state_change.py | 2 |
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) |