Merge pull request #644 from ammgws/patch-1

contrib/apt: amend typo
This commit is contained in:
tobi-wan-kenobi 2020-06-02 20:15:32 +02:00 committed by GitHub
commit 800d603c1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(
r"(.+) packages upgraded, (.+) newly installed, (.+) to remove", line_to_parse