From 864da51a68dc873f07d60b7286bcc639776afade Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sat, 29 Oct 2016 21:59:11 +0200 Subject: [PATCH] show id instead of name when printing authorities --- authority.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/authority.py b/authority.py index 30fa130..d88bf65 100755 --- a/authority.py +++ b/authority.py @@ -41,10 +41,9 @@ class Authority(object): raise NotImplementedError() def __repr__(self): - return ( "%s %s" % ( self.__class__.__name__, self.ca_type ) ) + return ( "%s %s" % ( self.__class__.__name__, self.ca_id ) ) class SSHAuthority(Authority): - ca_type = 'ssh' request_allowed = [ UserSSHRequest, HostSSHRequest, ]