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

Re: packages that raise string exceptions



On May 28, 2010, at 07:21 PM, Jakub Wilk wrote:

>Let's try what says grep on the Lucid's vesrion:
>
>$ grep -Er "raise\s+[\"']" --include='*.py' bzr-2.1.1/
>bzr-2.1.1/bzrlib/bundle/bundle_data.py:                    raise 'Value %r has no colon' % info_item
>bzr-2.1.1/bzrlib/tests/test_hooks.py:            "a ChangeBranchTipParams object. Hooks should raise "
>
>(The latter is a false positive, of course.)

Nice catch.  Filed as LP #586926.

-Barry

Attachment: signature.asc
Description: PGP signature


Reply to: