diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-01-24 15:29:09 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-01-24 15:29:09 -0500 |
commit | 4919cd124e57e82ecfcdaa9bfcbc051c719708e6 (patch) | |
tree | ae602a3a99ee5c5181bba9f80c3c02a6f1afc4f4 /cloudinit/config | |
parent | 6d474342163b05a29c198964ececd57db8658365 (diff) | |
download | vyos-cloud-init-4919cd124e57e82ecfcdaa9bfcbc051c719708e6.tar.gz vyos-cloud-init-4919cd124e57e82ecfcdaa9bfcbc051c719708e6.zip |
pylint and long line fixes.
This fixes up many long lines to be < 80 chars and some other
pylint issues. pylint 1.1 (in trusty) is now complaining about
the lazy logging, so I'll clean that up when I touch things.
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/cc_growpart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_growpart.py b/cloudinit/config/cc_growpart.py index b81951ad..f52c41f0 100644 --- a/cloudinit/config/cc_growpart.py +++ b/cloudinit/config/cc_growpart.py @@ -223,7 +223,8 @@ def resize_devices(resizer, devices): "stat of '%s' failed: %s" % (blockdev, e),)) continue - if not stat.S_ISBLK(statret.st_mode) and not stat.S_ISCHR(statret.st_mode): + if (not stat.S_ISBLK(statret.st_mode) and + not stat.S_ISCHR(statret.st_mode)): info.append((devent, RESIZE.SKIPPED, "device '%s' not a block device" % blockdev,)) continue |