From 712cd0827d7ebd56b24474e1d11d867d028786a2 Mon Sep 17 00:00:00 2001 From: feivel Date: Fri, 13 Sep 2013 23:44:09 -0400 Subject: Fix overreported installed package count. --- archey3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archey3') diff --git a/archey3 b/archey3 index 608d715..734cc56 100755 --- a/archey3 +++ b/archey3 @@ -415,7 +415,7 @@ class packageDisplay(display): command_line = "pacman -Q" def format_output(self, instring): - return "Packages", len(instring.split('\n')) + return "Packages", len(instring.rstrip('\n').split('\n')) @module_register("distro") class distroCheck(display): -- cgit v1.2.3-54-g00ecf