fix: Use continue to skip inside a loop.

This commit is contained in:
Harm Weites 2014-10-08 15:36:23 +02:00
parent 81ae50df38
commit 9a5d4f5b3e

View File

@ -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)