summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2017-04-10 07:04:17 -0700
committerToshio Kuratomi <a.badger@gmail.com>2017-04-10 07:04:17 -0700
commit856edfe80c0740ae43c1a7595fc66556074f5867 (patch)
treef490fce70b8ffb8dbad64a1e3db8caa377e96cc3
parent9a850db605a2db3c4f7f1cbc5bf88a8852ea17c4 (diff)
downloadansible-856edfe80c0740ae43c1a7595fc66556074f5867.tar.gz
Revert "pacman: Fix package matching pattern in upgraded package list (#23433)"
Not a critical blocker so we'll push this to 2.3.1 instead of trying to get it into 2.3.0 (Just too late in the development cycle to push it out now). This reverts commit 9a850db605a2db3c4f7f1cbc5bf88a8852ea17c4.
-rw-r--r--lib/ansible/modules/packaging/os/pacman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/packaging/os/pacman.py b/lib/ansible/modules/packaging/os/pacman.py
index 4411402ee5..083ac7138d 100644
--- a/lib/ansible/modules/packaging/os/pacman.py
+++ b/lib/ansible/modules/packaging/os/pacman.py
@@ -209,7 +209,7 @@ def upgrade(module, pacman_path):
}
if rc == 0:
- regex = re.compile('([\w-]+) ((?:\S+)-(?:\S+)) -> ((?:\S+)-(?:\S+))')
+ regex = re.compile('(\w+) ((?:\S+)-(?:\S+)) -> ((?:\S+)-(?:\S+))')
b = []
a = []
for p in data: