pacman: Fix package matching pattern in upgraded package list (#23433)

(cherry picked from commit 9a850db605)
This commit is contained in:
Indrajit Raychaudhuri 2017-04-09 04:21:55 -05:00 committed by Rene Moser
parent eec01e2137
commit 971187e54c

View file

@ -211,7 +211,7 @@ def upgrade(module, pacman_path):
} }
if rc == 0: if rc == 0:
regex = re.compile('(\w+) ((?:\S+)-(?:\S+)) -> ((?:\S+)-(?:\S+))') regex = re.compile('([\w-]+) ((?:\S+)-(?:\S+)) -> ((?:\S+)-(?:\S+))')
b = [] b = []
a = [] a = []
for p in data: for p in data: