From b42d45c07b5355d3359a552f3e627c7498ac644c Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sat, 5 Apr 2008 13:19:35 +0100 Subject: [PATCH] tripe-keys: Fix iteration over keyring. Organization: Straylight/Edgeware From: Mark Wooding In catacomb-python 426e898f..., KeyFile was changed to iterate over key-ids rather than keys, for consistency with other mapping objects. This means that we need to use itervalues explicitly now. --- keys/tripe-keys.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keys/tripe-keys.in b/keys/tripe-keys.in index 9ca903c5..58c36279 100644 --- a/keys/tripe-keys.in +++ b/keys/tripe-keys.in @@ -197,7 +197,7 @@ Subcommands available: def master_keys(): if not OS.path.exists('master'): return - for k in C.KeyFile('master'): + for k in C.KeyFile('master').itervalues(): if (k.type != 'tripe-keys-master' or k.expiredp or not k.tag.startswith('master-')): -- [mdw]