mirror of https://gitlab.crans.org/bde/nk20
Use _ prefix for ignored loop variable
This commit is contained in:
parent
1ca5133026
commit
5ab8beecef
|
@ -210,7 +210,7 @@ class InvoiceRenderView(LoginRequiredMixin, View):
|
||||||
del tex
|
del tex
|
||||||
|
|
||||||
# The file has to be rendered twice
|
# The file has to be rendered twice
|
||||||
for ignored in range(2):
|
for _ignored in range(2):
|
||||||
error = subprocess.Popen(
|
error = subprocess.Popen(
|
||||||
["/usr/bin/xelatex", "-interaction=nonstopmode", "invoice-{}.tex".format(pk)],
|
["/usr/bin/xelatex", "-interaction=nonstopmode", "invoice-{}.tex".format(pk)],
|
||||||
cwd=tmp_dir,
|
cwd=tmp_dir,
|
||||||
|
|
Loading…
Reference in New Issue