In reply to line 1041 of pyanaconda/ui/gui/spokes/storage.py:
This block, and the block under self.errors are very similar and just begging to be converted into a function. This will especially help should we need to add additional quit behavior.
Updating for previous discussion above. I see three differences: (1) if self.errors vs. if self.disk_errors - Just have this live outside of any function. (2) Different label - that's one argument. (3) Different label on one button - that's a second argument.