From: Michael Tremer Date: Tue, 10 Oct 2017 12:29:44 +0000 (+0100) Subject: source: Remove calling removed function num_commits X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b10e6892138f7baff09a202c9a76ffc758131d;p=pbs.git source: Remove calling removed function num_commits Signed-off-by: Michael Tremer --- diff --git a/src/templates/distro-source-detail.html b/src/templates/distro-source-detail.html index c2618e6b..d395f65e 100644 --- a/src/templates/distro-source-detail.html +++ b/src/templates/distro-source-detail.html @@ -47,7 +47,7 @@ {{ _("Imported commits") }} - {{ source.num_commits }} + {{ len(source) }} diff --git a/src/templates/modules/source-table.html b/src/templates/modules/source-table.html index 2fbff25b..e44fa0ef 100644 --- a/src/templates/modules/source-table.html +++ b/src/templates/modules/source-table.html @@ -14,7 +14,7 @@
{{ _("Branch: %s") % source.branch }} - {{ source.num_commits }} + {{ len(source) }}