03/19/2020, 1:39 AM
i think this code is actually correct, but mypy isn’t accepting it. wherever exit_code is referenced, it will have to have successfully gone through the try block. you can possibly put
above the try block?