From: Michael Tremer Date: Mon, 22 Dec 2025 10:35:36 +0000 (+0000) Subject: exports: List the total number of entries on the list X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d020ce8a1c66d5579a4c285ba40927904c005cf4;p=dbl.git exports: List the total number of entries on the list Signed-off-by: Michael Tremer --- diff --git a/src/dnsbl/exporters.py b/src/dnsbl/exporters.py index df39a0c..3387bb1 100644 --- a/src/dnsbl/exporters.py +++ b/src/dnsbl/exporters.py @@ -83,7 +83,7 @@ class TextExporter(Exporter): " Blocklist Project. It is intended for use with DNS servers and firewalls", " that support blocklisting of known malicious or unwanted domains.", "", - " List : %s" % self.list.name, + " List : %s" % self.list.name, ] # Add the description @@ -95,8 +95,9 @@ class TextExporter(Exporter): ] lines += [ - " License : %s" % self.list.license, - " Updated : %s" % self.list.updated_at.isoformat(), + " License : %s" % self.list.license, + " Updated : %s" % self.list.updated_at.isoformat(), + " Total Entries : %s" % len(self.list), "", " Copyright (C) %s - IPFire Team" % now.strftime("%Y"), "",