Control: tags -1 + patch

Trivial patch, see below.
From 80066a17cfbd891ec8473c73183520757c5ec2de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <[email protected]>
Date: Sat, 2 Nov 2024 13:53:57 +0100
Subject: [PATCH] Ignore "./" files in Included files listing (Closes:
 #1086627)
X-Mutt-PGP: OS

---
 GDebi/GDebiGtk.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/GDebi/GDebiGtk.py b/GDebi/GDebiGtk.py
index eff39ae..0671e03 100644
--- a/GDebi/GDebiGtk.py
+++ b/GDebi/GDebiGtk.py
@@ -294,10 +294,12 @@ class GDebiGtk(SimpleGtkbuilderApp, GDebiCommon):
         try:
             header = store.append(None, [_("Package control data")])
             for name in self._deb.control_filelist:
-                store.append(header, [name])
+                if name != "./":
+                    store.append(header, [name])
             header = store.append(None, [_("Upstream data")])
             for name in self._deb.filelist:
-                store.append(header, [name])
+                if name != "./":
+                    store.append(header, [name])
         except Exception as e:
             logging.exception("Exception while reading the filelist: '%s'" % e)
             store.clear()
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature

Reply via email to