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/upgrade090.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pacman/tests/upgrade090.py') diff --git a/test/pacman/tests/upgrade090.py b/test/pacman/tests/upgrade090.py index cdd4cace..9eb88948 100644 --- a/test/pacman/tests/upgrade090.py +++ b/test/pacman/tests/upgrade090.py @@ -16,7 +16,7 @@ sp = pmpkg("dep") sp.files = ["bin/dep"] self.addpkg2db("sync", sp) -self.args = "-U %s --ask=16" % " ".join([p.filename() for p in p1, p2, p3]) +self.args = "-U %s --ask=16" % " ".join([p.filename() for p in (p1, p2, p3)]) self.addrule("PACMAN_RETCODE=0") for p in p1, p2, sp: -- cgit v1.2.3-70-g09d2