fix: Use continue to skip inside a loop.
This commit is contained in:
parent
81ae50df38
commit
9a5d4f5b3e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user