hasgeek / funnel

Branches of the if statement have similar implementation PTC-W0051
Anti-pattern
Major
1 occurrence in this check
All branches in the conditional structure have same implementation
525                        func(notification_recipient, view)
526                        db.session.commit()
527                    except TransportError:
528                        if notification_recipient.notification.ignore_transport_errors:529                            pass
530                        else:
531                            # TODO: Implement transport error handling code here