mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	remove unused variable, as reported by pyflakes
This commit is contained in:
		
							parent
							
								
									74fb07b302
								
							
						
					
					
						commit
						cef73e5794
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -3215,7 +3215,7 @@ def calculate_math_string(expr):
 | 
			
		|||
        if '#' in expr:
 | 
			
		||||
            raise SyntaxError('no comments allowed')
 | 
			
		||||
        return execute_ast(ast.parse(expr, mode='eval').body)
 | 
			
		||||
    except SyntaxError as e:
 | 
			
		||||
    except SyntaxError:
 | 
			
		||||
        raise SyntaxError("could not parse expression '{expr}', "
 | 
			
		||||
                          "only basic math operations are allowed (+, -, *)"
 | 
			
		||||
                          .format(expr=expr))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue