contrib/apt: amend typo
This commit is contained in:
parent
9cadcee844
commit
cd0d97791e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue