[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#589096: canto: abuse of assert

Package: canto
Version: 0.7.6-2
Severity: normal

$ grep assert -C 3 /usr/share/pyshared/canto/extra.py try:
        assert xclip.wait() == 0
    except (IOError, AssertionError):
        gui.cfg.log("xclip must be installed for yank to work!")

wait() will never be called if a user has PYTHONOPTIMIZE=1 set in his enviroment.

Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply to: