From d79872b4c71f93b225d7bc0987e33cebfe687e42 Mon Sep 17 00:00:00 2001 From: Jeremy Heiner Date: Sat, 12 Oct 2013 12:44:36 -0400 Subject: Add parens around tuples in Python list comprehensions. Reported by 2to3: optional in Python 2, but required in 3. Signed-off-by: Jeremy Heiner Signed-off-by: Allan McRae --- test/pacman/tests/sync990.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/tests/sync990.py') diff --git a/test/pacman/tests/sync990.py b/test/pacman/tests/sync990.py index 6ac5a1f6..38346b9b 100644 --- a/test/pacman/tests/sync990.py +++ b/test/pacman/tests/sync990.py @@ -11,7 +11,7 @@ sp3.conflicts = ["pkg2"] for p in sp1, sp2, sp3: self.addpkg2db("sync", p) -self.args = "-S %s" % " ".join([p.name for p in sp1, sp2]) +self.args = "-S %s" % " ".join([p.name for p in (sp1, sp2)]) self.addrule("PACMAN_RETCODE=1") self.addrule("!PKG_EXIST=pkg1") -- cgit v1.2.3