Problema con la variable cancelación dentro del ciclo for en la funcion l10n_mx_action_cancel

3 jobs for feat_translate_terms in 43 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #59726
code-analysis

00:00:16

failed #59727
lint-analysis

00:00:23

failed #59728
mccabe

00:00:25

 
Name Stage Failure
failed
mccabe Test
  File "/home/gitlab-runner/builds/9ExyJDGg/0/l10n_mx/l10n_mx_facturae/buildout-cache/eggs/xenon-0.9.1-py2.7.egg/xenon/core.py", line 6, in <module>
from radon.cli import Config
File "/home/gitlab-runner/builds/9ExyJDGg/0/l10n_mx/l10n_mx_facturae/buildout-cache/eggs/radon-6.0.1-py2.7.egg/radon/cli/__init__.py", line 23, in <module>
from radon.cli.harvest import (
File "/home/gitlab-runner/builds/9ExyJDGg/0/l10n_mx/l10n_mx_facturae/buildout-cache/eggs/radon-6.0.1-py2.7.egg/radon/cli/harvest.py", line 6, in <module>
from builtins import super
ImportError: No module named builtins
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

failed
lint-analysis Test
    check_call('%s %s' % (shell, tmpfile), shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'sh /tmp/tmp0LxETU/run' returned non-zero exit status 30
*************** BUILDOUT EGGSCLEANER ****************
No unused eggs in eggs directory
*************** /BUILDOUT EGGSCLEANER ****************
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

failed
code-analysis Test
./l10n_mx_facturae/models/account_payment.py:337:9: F841 local variable 'voucher_currency' is assigned to but never used
./l10n_mx_facturae/models/account_payment.py:356:9: F841 local variable 'company_currency' is assigned to but never used
./l10n_mx_facturae/models/account_payment.py:357:9: F841 local variable 'voucher_currency' is assigned to but never used
./l10n_mx_facturae/models/account_payment.py:402:72: W504 line break after binary operator
./l10n_mx_facturae/models/res_company.py:3:1: F401 'odoo.api' imported but unused
./l10n_mx_facturae/report/account_move.py:3:1: F401 'odoo.api' imported but unused
The command "bin/code-analysis" exited with 1 in 1.854s.
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1

There are no tests to show.