From: Mark Wooding Date: Sat, 5 Apr 2008 12:19:35 +0000 (+0100) Subject: tripe-keys: Fix iteration over keyring. X-Git-Tag: 1.0.0pre8~73 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/b42d45c07b5355d3359a552f3e627c7498ac644c tripe-keys: Fix iteration over keyring. 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. --- 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-')):