1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +02: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:
Jochen Sprickerhof 2022-10-12 09:04:59 +00:00
commit b3f0f6f77e

View File

@ -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):