summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tester.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tester.py b/tester.py
index e1323aa..797216f 100644
--- a/tester.py
+++ b/tester.py
@@ -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()