kombu
kombu copied to clipboard
A missed out exception catch in eventio.py
There are two exception catches for OSError, first one is a pass, second one is unreachable since it is caught and passed already. https://github.com/celery/kombu/blob/67588f8aa7cc6d561f786440485885de5d0753d3/kombu/utils/eventio.py#L72-L79
Probably second one should be caught and OSError in first should be deleted?
Care to contribute a fix? :)