summaryrefslogtreecommitdiff
path: root/python/pkgrecords.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-17 19:04:51 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-17 19:04:51 +0200
commit769c1d5fa940e70ddb8ac55e8dd5ed8f05ab7e6e (patch)
tree44da0df24475f5d94c33a78a3aca0933c8192406 /python/pkgrecords.cc
parentdb6032394c794c6bbe59675bb38802d208d993cb (diff)
downloadpython-apt-769c1d5fa940e70ddb8ac55e8dd5ed8f05ab7e6e.tar.gz
python/apt_pkgmodule.cc: Introduce apt_pkg.gettext().
Python's gettext() ignores setlocale() which causes a strange behavior because the values received from apt-pkg respect setlocale(). We circumvent this problem by calling the C version of gettext(). This is also much faster.
Diffstat (limited to 'python/pkgrecords.cc')
0 files changed, 0 insertions, 0 deletions