diff options
author | Harm Weites <harm@weites.com> | 2014-10-08 15:36:23 +0200 |
---|---|---|
committer | Harm Weites <harm@weites.com> | 2014-10-08 15:36:23 +0200 |
commit | d1a951e4c64bfdfba78ac128fe88ece28bb00f38 (patch) | |
tree | 0a4f2a7e893d5f67bcba8713d3b328ecc6569770 | |
parent | 88ebf8106dfc3e2731e1e2d7c92c13662cbe0a59 (diff) | |
download | vyos-cloud-init-d1a951e4c64bfdfba78ac128fe88ece28bb00f38.tar.gz vyos-cloud-init-d1a951e4c64bfdfba78ac128fe88ece28bb00f38.zip |
fix: Use continue to skip inside a loop.
-rw-r--r-- | cloudinit/distros/freebsd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py index ee74cd2d..ee23fd20 100644 --- a/cloudinit/distros/freebsd.py +++ b/cloudinit/distros/freebsd.py @@ -124,7 +124,7 @@ class Distro(distros.Distro): m = re.match('^\w+', line) if m: if m.group(0).startswith('lo'): - next + continue # Just settle with the first non-lo adapter we find, since it's # rather unlikely there will be multiple nicdrivers involved. bsddev = m.group(0) |