- Clean up rpmlint issues OBS-URL: https://build.opensuse.org/request/show/1254816 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/mercurial?expand=0&rev=381
18 lines
638 B
Diff
18 lines
638 B
Diff
---
|
|
mercurial/i18n.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: mercurial-6.9.4/mercurial/i18n.py
|
|
===================================================================
|
|
--- mercurial-6.9.4.orig/mercurial/i18n.py 2025-03-20 19:18:38.520490391 +0100
|
|
+++ mercurial-6.9.4/mercurial/i18n.py 2025-03-20 19:18:43.941863826 +0100
|
|
@@ -55,7 +55,7 @@
|
|
|
|
|
|
datapath = pycompat.fsdecode(resourceutil.datapath)
|
|
-localedir = os.path.join(datapath, 'locale')
|
|
+localedir = '/usr/share/locale'
|
|
t = gettextmod.translation('hg', localedir, _languages, fallback=True)
|
|
try:
|
|
_ugettext = t.ugettext # pytype: disable=attribute-error
|