mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Allow pow in VercodeOperation (Closes: #1021)
This commit is contained in:
parent
79be3c1e5d
commit
8244ffa0ff
1 changed files with 1 additions and 0 deletions
|
@ -4090,6 +4090,7 @@ def calculate_math_string(expr):
|
||||||
ast.Mult: operator.mul,
|
ast.Mult: operator.mul,
|
||||||
ast.Sub: operator.sub,
|
ast.Sub: operator.sub,
|
||||||
ast.USub: operator.neg,
|
ast.USub: operator.neg,
|
||||||
|
ast.Pow: operator.pow,
|
||||||
}
|
}
|
||||||
|
|
||||||
def execute_ast(node):
|
def execute_ast(node):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue