Bug#737987: pychecker: False warning with "complex" format string parameters

2014-02-07 Thread Kenneth Pronovici
On Fri, Feb 7, 2014 at 2:57 AM, Guido Günther wrote: > Package: pychecker > Version: 0.8.19-8 > Severity: normal > It seems to fail to count the number of tuple arguments. Moving the 'if > .. else' outside of the tuple works around this. I'll submit this upstream and tie the bug report back here

Bug#737987: pychecker: False warning with "complex" format string parameters

2014-02-07 Thread Guido Günther
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 '