From: Michael Tremer Date: Wed, 19 Oct 2022 01:21:26 +0000 (+0000) Subject: sources: Replace find_maintainer with get_by_email X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed5bade50dcbc7575c7f1cbaf491beafd96fd8a0;p=pbs.git sources: Replace find_maintainer with get_by_email This is a fast fix to keep pages loading Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/sources.py b/src/buildservice/sources.py index 722509cd..c4694ca6 100644 --- a/src/buildservice/sources.py +++ b/src/buildservice/sources.py @@ -183,11 +183,11 @@ class Commit(base.DataObject): @lazy_property def author(self): - return self.backend.users.find_maintainer(self.data.author) or self.data.author + return self.backend.users.get_by_email(self.data.author) or self.data.author @lazy_property def committer(self): - return self.backend.users.find_maintainer(self.data.committer) or self.data.committer + return self.backend.users.get_by_email(self.data.committer) or self.data.committer @property def subject(self):