Package: pychecker Version: 0.8.19-8 Severity: normal Hi,
using foo = 'foo' baz = 'baz' print "%s%s" % ('bar' if foo else '', baz) pychecker fails with test.py:3: Format string argument count (0) doesn't match arguments (2) It seems to fail to count the number of tuple arguments. Moving the 'if .. else' outside of the tuple works around this. Cheers, -- Guido -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.14.0-rc1+ (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pychecker depends on: ii python 2.7.5-5 pychecker recommends no packages. pychecker suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org