A good one, or someone simply polite, would have ignored the fart...
But that would spoil the joke.
A better one would have taken credit and excused himself.