It wasn't just H.L. who suffered the shameful discrimination by her male scientific colleagues back in those "good old boy days". I bet most have heard of Watson & Crick, but how many know about Rosalind Franklin's contributions toward the structure of DNA? She didn't share the Nobel prize, even though her experimental X-ray diffraction was the foundation for the discovery!
Because of this shunning by the male scientific establishment of the time, she has been largely forgotten, just as Ms. Leavitt was too. The mores of the times were not just in Astronomy, but most scientific fields, I think. But on a positive note, how things have changed for the better in recent times.
In some ways the good olde days weren't...