I think politics is like an X-ray machine: Everything is found out eventually.
This quote metaphorically implies that in politics, even the hidden or undisclosed aspects of individuals or situations will eventually be exposed or revealed.
If you're dating the quarterback and then you go out with the hockey player, you just go to the hockey games. I don't think I'll still go to the football games.