Verified Commit 7b29cde2 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix ReportLastChanges.

parent ba7c2ca0
Pipeline #34021 passed with stages
in 18 minutes and 55 seconds
......@@ -97,9 +97,15 @@ class ReportLatestChangesApplication(SimpleReport):
)
}
for d in data:
name, profile = n_map.get(d["_id"], ("-", None))
name, address, profile = n_map.get(d["_id"], ("-", "-", None))
result += [
(d["_id"], name, Profile.get_by_id(profile) if profile else "-", d["last_ts"])
(
d["_id"],
name,
address,
Profile.get_by_id(profile) if profile else "-",
d["last_ts"],
)
]
return self.from_dataset(
title="%s: %s in %d days" % (self.title, repo, days),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment