/usr/share/pyshared/firmwaretools/i18n.py is in firmware-tools-common 2.1.14-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:tw=0
"""i18n abstraction
License: GPL
Author: Vladimir Bormotov <bor@vb.dn.ua>
$Id$
"""
# $RCSfile$
__version__ = "$Revision$"[11:-2]
__date__ = "$Date$"[7:-2]
try:
import gettext
import sys
if sys.version_info[0] == 2:
t = gettext.translation('yum')
_ = t.ugettext
else:
gettext.bindtextdomain('yum', '/usr/share/locale')
gettext.textdomain('yum')
_ = gettext.gettext
except:
def _(str):
"""pass given string as-is"""
return str
if __name__ == '__main__':
pass
# vim: set ts=4 et :
|