def get_english_language_name(lang_scr):
    try:
        return english_language_name[lang_scr]
    except __HOLE__:
        lang, script = lang_scr.split('-')
        name = '%s (%s script)' % (
            english_language_name[lang],
            english_script_name[script])
        print "Constructing name '%s' for %s." % (name, lang_scr)
        return name
dataset/ETHPy150Open googlei18n/nototools/nototools/generate_website_data.py/get_english_language_name