Projects
Eulaceura:Factory
python-polib
_service:obs_scm:msgfmt-dont-convert-the-messag...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:msgfmt-dont-convert-the-messages-to-UTF-8-encoding.patch of Package python-polib
diff -Nur a/tests/tests.py b/tests/tests.py --- a/tests/tests.py 2023-02-24 01:02:41.000000000 +0800 +++ b/tests/tests.py 2024-06-06 11:09:59.961135920 +0800 @@ -643,7 +643,7 @@ os.close(fd) po = polib.pofile(reffile, autodetect_encoding=False, encoding=encoding) po.save_as_mofile(tmpfile1) - subprocess.call([msgfmt, '--no-hash', '-o', tmpfile2, reffile]) + subprocess.call([msgfmt, '--no-convert', '--no-hash', '-o', tmpfile2, reffile]) try: f = open(tmpfile1, 'rb') s1 = f.read()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2