collective/icalendar — Issue #18: some try/catch blocks are too general
Author: paultag
Created: 2012-01-07 17:59:50+00:00
State: open

from prop.py:

def from_ical(ical):
"Parses the data format from ical text format"
try:
return ical.decode('base-64')
except:
raise ValueError, 'Not valid base 64 encoding.'
from_ical = staticmethod(from_ical)

This will catch stuff like KeyboardErrors or other similarly unrelated exceptions. Perhaps try to make this more exact?