Fix errors detected by pyflakes

7 jobs for 231-societegenerale-remove-warnings in 19 minutes and 24 seconds (queued for 41 minutes and 50 seconds)
latest
Status Job ID Name Coverage
  Build
passed #28747
build:3

00:02:27

 
  Test
passed #28750
load-modules:3

00:02:34

passed #28748
pyflakes:3

00:02:01

passed #28749
pyflakes-strict:3

00:02:31

passed #28751
unittests:3

00:02:24

failed #28752
allowed to fail
unittests-modules:3

00:10:55

 
  Deploy
passed #28753
doc:3

00:01:16

 
Name Stage Failure
failed
unittests-modules:3 Test
-----------------------------------------------------------------------
TOTAL 70496 41363 41%
----------------------------------------------------------------------
Ran 370 tests in 475.260s

FAILED (SKIP=112, errors=155, failures=31)
=== Total coverage ===
MODULES COVERAGE: 41%
ERROR: Job failed: exit code 1