Abstract: An electric generator has a rotor shaft to be driven to rotate with a generator rotor. A generator stator is positioned adjacent the generator rotor. A housing surrounds the generator rotor and the generator stator. The generator rotor shaft extends outwardly of the housing. A seal seals a location where the rotor shaft extends outwardly of the housing. A vent valve is configured to vent of the interior of the housing when the rotor shaft is not rotating. An electrical assembly is also disclosed. An electrical assembly is also disclosed.