Commit 45f6ae2e authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix

parent 2c4b6a6d
Pipeline #30196 passed with stages
in 15 minutes and 45 seconds
......@@ -104,7 +104,7 @@ class Script(BaseScript):
if int(p["port"]) < 1 or p["realtype"] == "":
continue
prefix = self.type[p["realtype"]]
if prefix == "gpon-onu_":
if prefix in ["gpon-onu_", ""]:
continue
for i in range(int(p["port"])):
port_num = "%s/%s/%s" % (p["shelf"], p["slot"], str(i + 1))
......
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