summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <lclarkmichalek@gmail.com>2013-09-14 03:35:22 -0700
committerLaurie Clark-Michalek <lclarkmichalek@gmail.com>2013-09-14 03:35:22 -0700
commitabf6396b13fd0947dfbe011f9d75b3efb1413a50 (patch)
tree22ab7895193435ac12d858b799a15604e428012d
parentbd39962da9e3539ca0b46e24cf8b85a75d607715 (diff)
parent712cd0827d7ebd56b24474e1d11d867d028786a2 (diff)
Merge pull request #16 from walpurgisriot/master
Fix overreported installed package count.
-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):