Fix shadowed and unambiguous var

6 jobs for typo-doc in 81 minutes and 29 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Style
failed #152169
allowed to fail
check_lint

00:01:50

passed #152168
check_style

00:00:38

 
  Tests
failed #152170
test_bliss

01:19:38

failed #152171
test_writer

00:00:13

 
  Build
passed #152172
create_reference_doc

00:05:09

failed #152173
create_user_doc

00:00:11

 
Name Stage Failure
failed
test_bliss Tests
tests/mca/test_handel_interface.py::test_get_module_statistics
/builds/valentin.valls/bliss/bliss/controllers/mca/handel/stats.py:45: UserWarning: Energy_Livetime inconsistency: 255.0 != 0.8755569705699482 (expected/handel)
warn(msg.format(energy_livetime, expected_e_livetime))

-- Docs: https://docs.pytest.org/en/latest/warnings.html
= 1 failed, 1838 passed, 169 skipped, 23 xfailed, 74 warnings, 2 errors, 2 rerun in 4539.85s (1:15:39) =
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
create_user_doc Build There has been a runner system failure, please try again
Checking out 6d19b8d5 as typo-doc...

Skipping Git submodules setup
Restoring cache
Downloading artifacts
Running before_script and script
Running after_script
Uploading artifacts for failed job
ERROR: Job failed (system failure): Error response from daemon: Conflict. The container name "/runner-54bd61fa-project-1833-concurrent-2-build-4" is already in use by container "5e5f61bf86a3eb0718a7867b5c9876f1ef77d3bf92017ec5aab1e2ec86c44a23". You have to remove (or rename) that container to be able to reuse that name. (docker.go:787:0s)
failed
test_writer Tests There has been a runner system failure, please try again
Removing doc/source/bliss.tango.servers.rst

Skipping Git submodules setup
Restoring cache
Downloading artifacts
Running before_script and script
Running after_script
Uploading artifacts for failed job
ERROR: Job failed (system failure): Error response from daemon: Conflict. The container name "/runner-54bd61fa-project-1833-concurrent-2-build-4" is already in use by container "5e5f61bf86a3eb0718a7867b5c9876f1ef77d3bf92017ec5aab1e2ec86c44a23". You have to remove (or rename) that container to be able to reuse that name. (docker.go:787:0s)
failed
check_lint Style
tests/test_undulator.py:57:23: F541 f-string is missing placeholders
tests/utils/icatplus_server.py:18:1: E402 module level import not at top of file
tests/utils/jolokia_server.py:16:1: E402 module level import not at top of file
tests/utils/stomp_publisher.py:17:1: E402 module level import not at top of file
tests/utils/stomp_subscriber.py:16:1: E402 module level import not at top of file
tests/working.py:1:1: F401 'pprint' imported but unused
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1