author Marian-Vasile Laza <>
Thu, 06 Oct 2022 21:34:22 +0300
changeset 637142 942c201b1ac7a46a449f1fb80da7b050ec0ea120
parent 627545 0048aa1e25a9fe615052f9e2bcb43c3a2dee536e
permissions -rw-r--r--
Backed out changeset c6cf679e8f08 (bug 1773237) for causing bc failures on Promise-inl.h. CLOSED TREE

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

# Generate update.locale, which simply contains the name of the current locale.

from __future__ import unicode_literals, print_function

def main(output, locale=None):
    assert locale is not None
    # update.locale is a trivial file but let's be unicode aware anyway.
    print(locale, file=output)