Not only a damn shame, but in fact the reason that it can be claimed to have been a partisan attack and an attempt to sway the election one way or another.
We should have an open government, but it doesn't work properly if only one party's dirty laundry which is aired.