Comment 1 for bug 823473

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

traverse_subscription is buggy:

        try:
            person = getUtility(IPersonSet).getByName(person_name)
        except NotFoundError:
            return None

getByName doesn't raise NotFoundError when the name doesn't exist but return None instead, thus passing None as the subscriber name in getBySubscriber.