summaryrefslogtreecommitdiff
path: root/archey3
diff options
context:
space:
mode:
authorfeivel <walpurgisriot@gmail.com>2013-09-13 23:44:09 -0400
committerfeivel <walpurgisriot@gmail.com>2013-09-13 23:44:09 -0400
commit712cd0827d7ebd56b24474e1d11d867d028786a2 (patch)
tree22ab7895193435ac12d858b799a15604e428012d /archey3
parentbd39962da9e3539ca0b46e24cf8b85a75d607715 (diff)
Fix overreported installed package count.
Diffstat (limited to 'archey3')
-rwxr-xr-xarchey32
1 files changed, 1 insertions, 1 deletions
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):