diff options
author | Jeremy Heiner <scalaprotractor@gmail.com> | 2013-10-12 18:44:36 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-14 05:01:15 +0200 |
commit | d79872b4c71f93b225d7bc0987e33cebfe687e42 (patch) | |
tree | 745ba95d40a0985e9dc9b72f8107518180142412 /test/pacman/tests/sync406.py | |
parent | e9c7c3b90d1f266aebc98a36b1d32a61f7113505 (diff) | |
download | pacman-d79872b4c71f93b225d7bc0987e33cebfe687e42.tar.gz pacman-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/sync406.py')
-rw-r--r-- | test/pacman/tests/sync406.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/tests/sync406.py b/test/pacman/tests/sync406.py index c15862fd..516f89a9 100644 --- a/test/pacman/tests/sync406.py +++ b/test/pacman/tests/sync406.py @@ -19,7 +19,7 @@ lp.provides = ["phonon"] lp.conflicts = ["phonon"] self.addpkg2db("local", lp) -self.args = "-S %s" % " ".join([p.name for p in sp1, sp4]) +self.args = "-S %s" % " ".join([p.name for p in (sp1, sp4)]) self.addrule("PACMAN_RETCODE=0") self.addrule("PKG_EXIST=kdelibs") |