[cleanup] Simpliy generate_family_file.getlangs
[cleanup] Simpliy generate_family_file.getlangs

Change-Id: I0d9d3f4f9129281974aa6eed64e85d409954a9ff

PersianWikipedia/pywikibot-core,wikimedia/pywikibot-core,wikimedia/pywikibot-core