Fix DLink.DxS_Smart.get_lldp_neighbors script

6 jobs for <span class="ref-name">dlink_smart_lldp</span> in 1 minute and 42 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Lint
passed #40150
docker
flake8

00:00:18

passed #40154
docker
futurize

00:00:18

passed #40153
docker
pylint

00:00:20

failed #40152
docker allowed to fail
radon

00:00:16

passed #40151
docker allowed to fail
yapf

00:00:12

 
  Test
failed #40155
docker allowed to fail
test_noc

00:01:21

36.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 36%
Coverage Statements : 26221
Coverage Missing : 16750
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 475 matching files
./var/report: found 2 matching files
Uploading artifacts to coordinator... ok id=40155 responseStatus=201 Created token=xwWGGKtD
ERROR: Job failed: exit code 2
failed
radon Lint
++ 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'
++ '[' '!' -z sa/profiles/DLink/DxS_Smart/get_lldp_neighbors.py ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B sa/profiles/DLink/DxS_Smart/get_lldp_neighbors.py
ERROR:xenon:block "sa/profiles/DLink/DxS_Smart/get_lldp_neighbors.py:15 Script" has a rank of C
ERROR:xenon:block "sa/profiles/DLink/DxS_Smart/get_lldp_neighbors.py:19 execute" has a rank of C
ERROR:xenon:average complexity is ranked C
ERROR:xenon:module 'sa/profiles/DLink/DxS_Smart/get_lldp_neighbors.py' has a rank of C
ERROR: Job failed: exit code 1