projects
/
certmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da1d87
)
sort the output of certmaster-ca before displaying them
author
Seth Vidal
<skvidal@fedoraproject.org>
Tue, 16 Feb 2010 18:12:49 +0000
(13:12 -0500)
committer
Seth Vidal
<skvidal@fedoraproject.org>
Tue, 16 Feb 2010 18:12:49 +0000
(13:12 -0500)
scripts/certmaster-ca
patch
|
blob
|
history
diff --git
a/scripts/certmaster-ca
b/scripts/certmaster-ca
index
37a509c
..
d10c1a2
100755
(executable)
--- a/
scripts/certmaster-ca
+++ b/
scripts/certmaster-ca
@@
-63,7
+63,7
@@
def main(args):
if opts.list:
hns = cm.get_csrs_waiting()
if hns:
- for hn in
cm.get_csrs_waiting(
):
+ for hn in
sorted(hns
):
print hn
else:
print 'No certificates to sign'
@@
-104,7
+104,7
@@
def main(args):
signed_certs = cm.get_signed_certs(args)
- for i in s
igned_certs
:
+ for i in s
orted(signed_certs)
:
print i
return 0
@@
-116,7
+116,7
@@
def main(args):
cert_hashes = cm.get_cert_hashes(hostglobs)
- for i in
cert_hashes
:
+ for i in
sorted(cert_hashes)
:
print i
return 0