Closed Bug 760998 Opened 13 years ago Closed 13 years ago

[compare-locale] Error on crashreporter.ini with MPL2 boilerplate followed by empty line

Categories

(Mozilla Localizations :: Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: Pike)

References

Details

Italian file http://hg.mozilla.org/l10n-central/it/file/c7bee6ec8ca3/toolkit/crashreporter/crashreporter.ini compare-locales generates this error Unparsed content "; 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 http://mozilla.org/MPL/2.0/. [Strings]" at 0-209 Adding this comment makes the error disappears # This file is in the UTF-8 encoding
My suspicion is that http://hg.mozilla.org/l10n/compare-locales/file/f4effbecaaec/lib/Mozilla/Parser.py#l355 doesn't allow the empty line in that constellation. Path to fix would be to mimic the tests in http://hg.mozilla.org/l10n/compare-locales/file/f4effbecaaec/lib/Mozilla/tests/unitProperties.py, verify that it breaks, and then patch. In other words, this is a nice patch for someone to start hacking on compare-locales.
Summary: [compare-locale] Error on crashreporter.ini when UTF8 comment is missing → [compare-locale] Error on crashreporter.ini with MPL2 boilerplate followed by empty line
http://hg.mozilla.org/l10n/compare-locales/rev/98efaa127844, FIXED. I also updated the seamonkey runs for central and aurora.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 865001
You need to log in before you can comment on or make changes to this bug.