|
491 |
# Inst univention-updater [3.1.1-5] (3.1.1-6.408.200810311159 192.168.0.10) |
491 |
# Inst univention-updater [3.1.1-5] (3.1.1-6.408.200810311159 192.168.0.10) |
492 |
# inst: |
492 |
# inst: |
493 |
# Inst mc (1:4.6.1-6.12.200710211124 oxae-update.open-xchange.com) |
493 |
# Inst mc (1:4.6.1-6.12.200710211124 oxae-update.open-xchange.com) |
494 |
match = re.search('^Inst (\S+)\s+(.*?)\s*\((\S+)\s.*\)$',line) |
494 |
# |
|
|
495 |
# *** FIX *** the above example lines ignore the fact that there's |
496 |
# some extra text (occasionally) after the last closing |
497 |
# parenthesis. Until now, I've seen only a pair of empty |
498 |
# brackets [], but who knows... |
499 |
match = re.search('^Inst (\S+)\s+(.*?)\s*\((\S+)\s.*\)',line) |
495 |
if match: |
500 |
if match: |
496 |
pkg = match.group(1) |
501 |
pkg = match.group(1) |
497 |
old = match.group(2) |
502 |
old = match.group(2) |