diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-01-06 12:02:38 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-01-06 12:02:38 -0500 |
commit | 38c851e58e09c5574661ef4b2d2e66f6e38063d1 (patch) | |
tree | d136c739ba324802e90b7afede5429254e519475 /cloudinit/distros/freebsd.py | |
parent | fa5ce8c40621c78e61c7d9bd073903101f7d6a5e (diff) | |
download | vyos-cloud-init-38c851e58e09c5574661ef4b2d2e66f6e38063d1.tar.gz vyos-cloud-init-38c851e58e09c5574661ef4b2d2e66f6e38063d1.zip |
tools/run-pep8: remove leading ',' fed to --ignore
--ignore was being called with ',E121,E...' rather than
'E121,E...'.
that resulted in odd behavior, missing the pep8 errors that are fixed
here.
Diffstat (limited to 'cloudinit/distros/freebsd.py')
-rw-r--r-- | cloudinit/distros/freebsd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py index ee23fd20..9216510e 100644 --- a/cloudinit/distros/freebsd.py +++ b/cloudinit/distros/freebsd.py @@ -119,7 +119,8 @@ class Distro(distros.Distro): index = n.group(0) (out, err) = util.subp(['ifconfig', '-a']) - ifconfigoutput = [x for x in (out.strip()).splitlines() if len(x.split()) > 0] + ifconfigoutput = [x for x in (out.strip()).splitlines() + if len(x.split()) > 0] for line in ifconfigoutput: m = re.match('^\w+', line) if m: |