commit:     708ccabfe225ffc27e2d2616d7ab5f01a846d2ab
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  6 15:37:17 2026 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Jan  6 16:59:56 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=708ccabf

Some minor fixups

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/targets/snapshot.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/catalyst/targets/snapshot.py b/catalyst/targets/snapshot.py
index 8d4145fd..90cfe0f6 100644
--- a/catalyst/targets/snapshot.py
+++ b/catalyst/targets/snapshot.py
@@ -4,6 +4,7 @@ Snapshot target
 
 import subprocess
 import sys
+import os
 
 import fasteners
 
@@ -72,9 +73,9 @@ class snapshot(TargetBase):
                     f"OpenPGP keyring at repo_openpgp_key_path={pgp_path} does 
not exist. Is sec-keys/openpgp-keys-gentoo-release installed?"
                 )
 
-            git_cmds.append(self.git, '-C', self.gitdir, 'verify-commit', 
'HEAD')
+            git_cmds.append([self.git, '-C', self.gitdir, 'verify-commit', 
'HEAD'])
 
-            openpgp_env = gemato.openpgp.OpenPGPEnvironment
+            openpgp_env = gemato.openpgp.OpenPGPEnvironment()
             try:
                 with open(pgp_path, "rb") as f:
                     openpgp_env.import_key(f)

Reply via email to