contrib/apt: amend typo

This commit is contained in:
Jason 2020-06-02 23:20:20 +09:00 committed by GitHub
parent 9cadcee844
commit cd0d97791e
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(
"(.+) packages upgraded, (.+) newly installed, (.+) to remove", line_to_parse