mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Merge branch 'pow' into 'master'
Allow pow in VercodeOperation (Closes: #1021) Closes #1021 See merge request fdroid/fdroidserver!1158
This commit is contained in:
commit
b3f0f6f77e
1 changed files with 1 additions and 0 deletions
|
@ -4090,6 +4090,7 @@ def calculate_math_string(expr):
|
|||
ast.Mult: operator.mul,
|
||||
ast.Sub: operator.sub,
|
||||
ast.USub: operator.neg,
|
||||
ast.Pow: operator.pow,
|
||||
}
|
||||
|
||||
def execute_ast(node):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue