Verified Commit 43518cb8 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Fix

parent 4de4c440
Pipeline #22415 failed with stages
in 1 minute and 45 seconds
......@@ -42,7 +42,7 @@ class Script(BaseScript):
for record in macs:
iface_num = int(record["prt"], 16)
if self.is_platform_6port1sfp:
for i in xrange(8):
for i in range(8):
if (iface_num >> i) & 1:
iface_num = i
break
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment