Fix Eltex.MES.get_spanning_tree script

6 jobs from eltex_stp in 1 minute and 37 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Lint
passed #40480
docker
flake8

00:00:22

passed #40484
docker
futurize

00:00:19

passed #40483
docker
pylint

00:00:26

failed #40482
docker allowed to fail
radon

00:00:17

failed #40481
docker allowed to fail
yapf

00:00:20

 
  Test
failed #40485
docker allowed to fail
test_noc

00:01:11

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20295
Coverage Missing : 15940
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 368 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=40485 responseStatus=201 Created token=ji15Mjjf
ERROR: Job failed: exit code 2
failed
yapf Lint
+                            ),
+ "point_to_point": port_attrs["point_to_point"],
+ "edge": port_attrs["status"],
+ }
+ ]
for I in r["instances"]:
I["interfaces"] = interfaces[I["id"]]
return r
ERROR: Job failed: exit code 1
failed
radon Lint
$ x=0
++ x=0
++ echo '$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi'
$ if [ ! -z "$FLIST" ]; then for i in "${FLIST}" ; do (xenon --max-absolute B --max-modules B --max-average B "$i"; let x+=$?); done; fi
++ '[' '!' -z sa/profiles/Eltex/MES/get_spanning_tree.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/Eltex/MES/get_spanning_tree.py
++ let x+=0
ERROR: Job failed: exit code 1