From c86e1ad86364086beab9a19717c4e966fd9038b8 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 1 Oct 2020 18:18:31 +0200 Subject: [PATCH] Fix stupid error :D --- scripts/mklanguages.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/mklanguages.py b/scripts/mklanguages.py index d1b1321a7..5cc3f16c4 100755 --- a/scripts/mklanguages.py +++ b/scripts/mklanguages.py @@ -31,11 +31,11 @@ def get_used_languages(): return languages -def write_languages(f, lang): +def write_languages(f, langs): """Write language information.""" f.write("Languages = {%s" % os.linesep) - for lang in sorted(lang): - f.write(" %r: %r,%s" % (lang, lang[lang], os.linesep)) + for lang in sorted(langs): + f.write(" %r: %r,%s" % (lang, langs[lang], os.linesep)) f.write("}%s" % os.linesep)