From d6a3cba61d435c2aff711106d6cb3e111c0cb556 Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Mon, 18 Jun 2007 18:45:49 +0100 Subject: [PATCH] utils.gpg_keyring_args is only available under daklib.utils... --- dak/import_ldap_fingerprints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/import_ldap_fingerprints.py b/dak/import_ldap_fingerprints.py index 5075f357..22ee2ddc 100755 --- a/dak/import_ldap_fingerprints.py +++ b/dak/import_ldap_fingerprints.py @@ -158,7 +158,7 @@ SELECT f.fingerprint, f.id, u.uid FROM fingerprint f, uid u WHERE f.uid = u.id for i in q.getresult(): (fingerprint, fingerprint_id) = i cmd = "gpg --no-default-keyring %s --fingerprint %s" \ - % (gpg_keyring_args(), fingerprint) + % (daklib.utils.gpg_keyring_args(), fingerprint) (result, output) = commands.getstatusoutput(cmd) if result == 0: m = re_gpg_fingerprint.search(output) @@ -177,7 +177,7 @@ SELECT f.fingerprint, f.id, u.uid FROM fingerprint f, uid u WHERE f.uid = u.id for keyring in Cnf.ValueList("Import-LDAP-Fingerprints::ExtraKeyrings"): extra_keyrings += " --keyring=%s" % (keyring) cmd = "gpg %s %s --list-key %s" \ - % (gpg_keyring_args(), extra_keyrings, fingerprint) + % (daklib.utils.gpg_keyring_args(), extra_keyrings, fingerprint) (result, output) = commands.getstatusoutput(cmd) if result != 0: cmd = "gpg --keyserver=%s --allow-non-selfsigned-uid --recv-key %s" % (Cnf["Import-LDAP-Fingerprints::KeyServer"], fingerprint) -- 2.39.5