summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/upgrade014.py
diff options
context:
space:
mode:
authorJeremy Heiner <scalaprotractor@gmail.com>2013-10-12 12:44:36 -0400
committerAllan McRae <allan@archlinux.org>2013-10-14 13:01:15 +1000
commitd79872b4c71f93b225d7bc0987e33cebfe687e42 (patch)
tree745ba95d40a0985e9dc9b72f8107518180142412 /test/pacman/tests/upgrade014.py
parente9c7c3b90d1f266aebc98a36b1d32a61f7113505 (diff)
downloadpacman-d79872b4c71f93b225d7bc0987e33cebfe687e42.tar.xz
Add parens around tuples in Python list comprehensions.
Reported by 2to3: optional in Python 2, but required in 3. Signed-off-by: Jeremy Heiner <ScalaProtractor@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/upgrade014.py')
-rw-r--r--test/pacman/tests/upgrade014.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/tests/upgrade014.py b/test/pacman/tests/upgrade014.py
index 93c2fe2b..2ef759d1 100644
--- a/test/pacman/tests/upgrade014.py
+++ b/test/pacman/tests/upgrade014.py
@@ -13,7 +13,7 @@ p2.files = ["bin/foobar",
for p in p1, p2:
self.addpkg(p)
-self.args = "-U --force %s" % " ".join([p.filename() for p in p1, p2])
+self.args = "-U --force %s" % " ".join([p.filename() for p in (p1, p2)])
self.addrule("PACMAN_RETCODE=0")
for p in p1, p2: