From cd0d97791e997aaf4a17760bb92c009fbd7c75f0 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 2 Jun 2020 23:20:20 +0900 Subject: [PATCH] contrib/apt: amend typo --- bumblebee_status/modules/contrib/apt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/apt.py b/bumblebee_status/modules/contrib/apt.py index 256ed15..fa66c4b 100644 --- a/bumblebee_status/modules/contrib/apt.py +++ b/bumblebee_status/modules/contrib/apt.py @@ -21,7 +21,7 @@ PATTERN = "{} packages upgraded, {} newly installed, {} to remove and {} not upg def parse_result(to_parse): - # We want to line with the iforamtion about package upgrade + # We want the line with the package upgrade information line_to_parse = to_parse.split("\n")[-4] result = re.search( "(.+) packages upgraded, (.+) newly installed, (.+) to remove", line_to_parse