From: Pieter Lexis Date: Sat, 4 Feb 2012 22:23:11 +0000 (+0100) Subject: Fix a shamefully dumb copy-paste bug in the output X-Git-Url: https://git.svenne.dk/?p=public%2Fdnssec-swede-utility.git;a=commitdiff_plain;h=4276ddcb5239e329de76ad405f175d03d20cd767 Fix a shamefully dumb copy-paste bug in the output --- diff --git a/swede b/swede index 02ebd16..bc1952a 100755 --- a/swede +++ b/swede @@ -416,8 +416,8 @@ if __name__ == '__main__': if not args.quiet: print 'Received the following record for name %s:' % record.name print '\tUsage:\t\t\t\t%d (%s)' % (record.usage, {0:'CA Constraint', 1:'End-Entity Constraint + chain to CA', 2:'Trust Anchor', 3:'End-Entity'}.get(record.usage, 'INVALID')) - print '\tSelector:\t\t\t%d (%s)' % (record.selector, {0:'Certificate', 1:'SubjectPublicKeyInfo'}.get(record.usage, 'INVALID')) - print '\tMatching Type:\t\t\t%d (%s)' % (record.mtype, {0:'Full Certificate', 1:'SHA-256', 2:'SHA-512'}.get(record.usage, 'INVALID')) + print '\tSelector:\t\t\t%d (%s)' % (record.selector, {0:'Certificate', 1:'SubjectPublicKeyInfo'}.get(record.selector, 'INVALID')) + print '\tMatching Type:\t\t\t%d (%s)' % (record.mtype, {0:'Full Certificate', 1:'SHA-256', 2:'SHA-512'}.get(record.mtype, 'INVALID')) print '\tCertificate for Association:\t%s' % record.cert try: