From 0c05e36030f83dadd031e531865d87ecb78e00dc Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Thu, 21 Jan 2016 16:21:29 -0500 Subject: [PATCH] Delete unneeded variable in keys.py --- tuf/keys.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tuf/keys.py b/tuf/keys.py index f0f08aa8..ae00b2e2 100755 --- a/tuf/keys.py +++ b/tuf/keys.py @@ -1063,12 +1063,11 @@ def format_rsakey_from_pem(pem): # Begin building the RSA key dictionary. rsakey_dict = {} keytype = 'rsa' - public = public_pem # Generate the keyid of the RSA key. 'key_value' corresponds to the # 'keyval' entry of the 'RSAKEY_SCHEMA' dictionary. The private key # information is not included in the generation of the 'keyid' identifier. - key_value = {'public': public, + key_value = {'public': public_pem, 'private': ''} keyid = _get_keyid(keytype, key_value)