Package: bunch / 1.0.1-1

Metadata

Package Version Patches format
bunch 1.0.1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix except | (download)

bunch/__init__.py | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 fix unspecified except: blocks
 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.