diff options
-rw-r--r-- | tester.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -76,8 +76,12 @@ def main(): not_broken.append(arch) print("\033[1;32mNo issues\033[1;0m: {a}".format(a=", ".join(not_broken))) - print("\033[1;33mMissing user\033[1;0m: {a}".format(a=", ".join(broken_user))) - print("\033[1;31mMissing system\033[1;0m: {a}".format(a=", ".join(broken_sys))) + print("\033[1;33mMissing user\033[1;0m: {a}".format(a=", ".join( + ["{x} ({y})".format(x=arch, y=len(all_user_pkgs - pkgs[arch]['user'])) + for arch in broken_user]))) + print("\033[1;31mMissing system\033[1;0m: {a}".format(a=", ".join( + ["{x} ({y})".format(x=arch, y=len(all_sys_pkgs - pkgs[arch]['system'])) + for arch in broken_sys]))) if __name__ == "__main__": main() |