bunch icon indicating copy to clipboard operation
bunch copied to clipboard

Fix unspecified "except:" blocks

Open laarmen opened this issue 12 years ago • 0 comments

Those are bad since they catch every exception out there, including KeyboardInterrupt and the like.

The first block is entirely removed as the two function call are not supposed to raise anything given legit parameters. The second should, according to the method description, only catch KeyError to change them into AttributeError.

laarmen avatar Jun 12 '13 07:06 laarmen