Skip to content
Snippets Groups Projects
Commit 28e4d210 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Python 3: fix lambda syntax

parent 8a0785da
No related branches found
No related tags found
1 merge request!29Python3
This commit is part of merge request !29. Comments created here will be created in the context of that merge request.
......@@ -233,7 +233,7 @@ class SupereventPublic(DisplayFarMixin, ListView):
("BBH", voe.prob_bbh),
("Terrestrial", voe.prob_terrestrial),
("MassGap", voe.prob_mass_gap)]
pastro_values.sort(reverse=True, key=lambda (a,b): b)
pastro_values.sort(reverse=True, key=lambda a, b: b)
sourcelist = []
for key, value in pastro_values:
if value > 0.01:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment