On Mon, Jan 14, 2008 at 10:39:27AM -0600, Kenneth Pronovici wrote: > Maybe we should clone 406357? You can fix your FTBFS by removing > pychecker from debian/rules, and I'll keep this bug against pychecker > open until we can figure out the problem. That way, the severity for > the pychecker bug can be set to normal (which is more appropriate > since AFAIK you're the only affected user), and users won't have any > problem building your package in the meantime. Here's a patch that fixes the problem for me. Using if instead of elif we might end up trying to index an already removed list element:
--- warn.py 2008-02-08 16:02:02.000000000 +0100 +++ /tmp/new 2008-02-08 16:01:55.000000000 +0100 @@ -417,9 +417,8 @@ # ignore files not specified on the cmd line if requested if os.path.abspath(filename) not in cfg.files: del warnings[index] - # filter by warning/error level if requested - if cfg.level and warnings[index].level < cfg.level: + elif cfg.level and warnings[index].level < cfg.level: del warnings[index] if cfg.limit: Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]