mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Use _ prefix for ignored loop variable
This commit is contained in:
		@@ -210,7 +210,7 @@ class InvoiceRenderView(LoginRequiredMixin, View):
 | 
			
		||||
            del tex
 | 
			
		||||
 | 
			
		||||
            # The file has to be rendered twice
 | 
			
		||||
            for ignored in range(2):
 | 
			
		||||
            for _ignored in range(2):
 | 
			
		||||
                error = subprocess.Popen(
 | 
			
		||||
                    ["/usr/bin/xelatex", "-interaction=nonstopmode", "invoice-{}.tex".format(pk)],
 | 
			
		||||
                    cwd=tmp_dir,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user