aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2025-12-19 18:45:33 +0100
committerPapoteur <papoteur@mageia.org>2025-12-19 18:53:38 +0100
commit2ea9d820c3d3c986159a196978ce28baaab4c26a (patch)
treea459eb558ebdc749f9a9bc8d56d8d4e6225ae3dc /lib/isodumper.py
parentdf07d08294994a0e9cc066df5fe8b13c772ed5bf (diff)
downloadisodumper-2ea9d820c3d3c986159a196978ce28baaab4c26a.tar
isodumper-2ea9d820c3d3c986159a196978ce28baaab4c26a.tar.gz
isodumper-2ea9d820c3d3c986159a196978ce28baaab4c26a.tar.bz2
isodumper-2ea9d820c3d3c986159a196978ce28baaab4c26a.tar.xz
isodumper-2ea9d820c3d3c986159a196978ce28baaab4c26a.zip
Fix potential error when GPG database is not found (mga#34867)
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 3bc9f4f..beaaf8c 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -1198,6 +1198,8 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
return
else:
self.logger.info(_("The checksum file is signed"))
+ if self.key_expired:
+ self.logger.info(_("Info: Key used for the signature has expired. Updated version may be available."))
else:
info = Info(
_("Warning"),
@@ -1211,8 +1213,6 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
else:
self.img_name = ""
return
- if self.key_expired:
- self.logger.info(_("Info: Key used for the signature has expired. Updated version may be available."))
self.ima.setLabel(os.path.basename(self.img_name))
self.dialog.recalcLayout()
self.activate_devicelist()