diff options
author | Remi Collet <fedora@famillecollet.com> | 2011-02-05 11:09:56 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2011-02-05 11:09:56 +0100 |
commit | ad09d023481f03b6dc835bf86f2999e40ab63b37 (patch) | |
tree | 16618319228978a42372402d5b8fa53544a97de0 /fedcli.php | |
parent | eb425e1bee76cb6ec7196506954229e77eea82ef (diff) |
fix co-maintainer list : only approved ones
Diffstat (limited to 'fedcli.php')
-rwxr-xr-x | fedcli.php | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -118,13 +118,20 @@ function Package() { echo $branch.":\t".$pack['owner']; $i=0; + $tmp = array(); foreach ($pack['people'] as $user) { if (isset($user['aclOrder']['commit']['statuscode']) && $user['aclOrder']['commit']['statuscode']==3) { - echo ($i++ ? ", " : " (").$user['username']; + $tmp[] = $user['username']; } } - echo ($i ? ")\n" : "\n"); + if (count($tmp)) { + sort($tmp); + echo " (".implode($tmp, ', ').")\n"; + } else { + echo "\n"; + } } + } function Version() { |