mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +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:
commit
b3f0f6f77e
@ -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…
Reference in New Issue
Block a user