diff options
author | Ruben Pollan <meskio@sindominio.net> | 2015-01-05 08:54:24 -0600 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-01-15 13:10:57 -0600 |
commit | 82d027b1f471517213bdcdc773dc8eea677fe330 (patch) | |
tree | 4e91d829a7185be9cb127592747eb72866d47f77 /src/leap/keymanager/keys.py | |
parent | 6fa8b2a9e7f02c59f794e9dd080fac574841e50b (diff) |
Port validation levels to enum34
Diffstat (limited to 'src/leap/keymanager/keys.py')
-rw-r--r-- | src/leap/keymanager/keys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/keymanager/keys.py b/src/leap/keymanager/keys.py index 4e98de6c..562c0a9b 100644 --- a/src/leap/keymanager/keys.py +++ b/src/leap/keymanager/keys.py @@ -213,7 +213,7 @@ class EncryptionKey(object): KEY_EXPIRY_DATE_KEY: expiry_date, KEY_LAST_AUDITED_AT_KEY: last_audited_at, KEY_REFRESHED_AT_KEY: refreshed_at, - KEY_VALIDATION_KEY: str(self.validation), + KEY_VALIDATION_KEY: self.validation.name, KEY_ENCR_USED_KEY: self.encr_used, KEY_SIGN_USED_KEY: self.sign_used, KEY_TAGS_KEY: [KEYMANAGER_KEY_TAG], |